summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-12 07:51:32 -0500
committerseth <[email protected]>2024-02-12 08:51:36 -0500
commit19b01bff4c251722d4739f6dca208497877f7cbb (patch)
tree31918495004c9386760afbac6853c9e7668093c1
parentec2b378c8d7885290db2d526364eb59512e60d0e (diff)
actually kinda try this time
-rw-r--r--src/404.vto19
-rw-r--r--src/_components/footer.vto83
-rw-r--r--src/_components/head.vto5
-rw-r--r--src/_components/nav.vto20
-rw-r--r--src/_includes/base.vto20
-rw-r--r--src/_includes/index.vto196
-rw-r--r--src/_includes/page.vto26
-rw-r--r--src/global.sass49
-rw-r--r--src/index.md21
-rw-r--r--src/index.vto27
-rw-r--r--src/lul.vto10
-rw-r--r--src/public/imgs/chris/bkender_bauob.jpgbin7404 -> 0 bytes
-rw-r--r--src/public/imgs/chris/blurry_chris.jpgbin14954 -> 0 bytes
-rw-r--r--src/public/imgs/chris/chis_very_fried.jpgbin7966 -> 0 bytes
-rw-r--r--src/public/imgs/chris/chris_medium_fried.jpgbin7272 -> 0 bytes
-rw-r--r--src/public/imgs/chris/chris_moshed.jpgbin51242 -> 0 bytes
-rw-r--r--src/public/imgs/chris/fried_publisher.jpgbin2727 -> 0 bytes
-rw-r--r--src/public/imgs/chris/help_me.pngbin10678 -> 0 bytes
-rw-r--r--src/public/imgs/chris/nice_chris.pngbin157488 -> 0 bytes
-rw-r--r--src/public/imgs/chris/nice_publisher.pngbin98501 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/anybrowser.gifbin1286 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/bob.gifbin142993 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/chris.gifbin2279 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/counterstrike.gifbin5023 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/explorer.gifbin10877 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/free.gifbin622 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/gimp.gifbin2602 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/gnu-linux.gifbin550 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/imagine.gifbin9865 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/jsfree.gifbin1695 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/kmelon.gifbin2964 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/moz.gifbin2864 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/poweredbyfedora.gifbin2314 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/tired.gifbin899 -> 0 bytes
-rw-r--r--src/public/imgs/gifs/vi.gifbin761 -> 0 bytes
-rw-r--r--src/public/js/chrisApp.js30
36 files changed, 145 insertions, 361 deletions
diff --git a/src/404.vto b/src/404.vto
index 17ccb23..04ba499 100644
--- a/src/404.vto
+++ b/src/404.vto
@@ -4,12 +4,13 @@ description: "404!"
layout: page.vto
---
-<h1>404! :(</h1>
-<img
- src="/imgs/tapwater.png"
- width="500"
- height="515"
- class="mx-auto"
- decoding="async"
- alt="can i get you some tapwater?"
-/>
+<div class="space-y-5">
+ <h1>404! :(</h1>
+
+ <img
+ src="/imgs/tapwater.png"
+ class="my-5"
+ decoding="async"
+ alt="can i get you some tapwater?"
+ />
+</div>
diff --git a/src/_components/footer.vto b/src/_components/footer.vto
index 6c262f1..9c81595 100644
--- a/src/_components/footer.vto
+++ b/src/_components/footer.vto
@@ -1,9 +1,78 @@
-<div class="flex">
- <div class="flex flex-col items-center gap-1 p-3 mx-auto">
- <a
- class="text-text text-xs"
- href="https://github.com/getchoo/website">source</a
+<footer class="text-xs text-overlay0 my-10 text-right space-y-2">
+ <div class="hidden md:flex flex-wrap justify-around">
+ <img
+ src="/imgs/gifs/acab.gif"
+ width="88"
+ height="31"
+ loading="lazy"
+ decoding="async"
+ alt="ACAB!"
>
- <p class="text-text text-xs">commit: {{ gitCommit }}</p>
+ <img
+ src="/imgs/gifs/arnold.gif"
+ width="88"
+ height="31"
+ loading="lazy"
+ decoding="async"
+ alt="Hey Arnold!"
+ >
+ <img
+ src="/imgs/gifs/capitalism.gif"
+ width="88"
+ height="31"
+ loading="lazy"
+ decoding="async"
+ alt="Let's crush capitalism!"
+ />
+ <img
+ src="/imgs/gifs/legalize.gif"
+ width="88"
+ height="31"
+ loading="lazy"
+ decoding="async"
+ alt="Legalize marijuana now!"
+ >
+ <a href="https://github.com/sakecode">
+ <!--
+ Powered by NixOS © 2023 by Sake is licensed under (CC BY-NC-SA 4.0)
+ To view the source visit: https://github.com/sakecode/Sake-s-SVGs
+ To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/
+ -->
+ <img
+ src="/imgs/gifs/poweredbynix.svg"
+ width="88"
+ height="31"
+ decoding="async"
+ alt="Powered by NixOS"
+ />
+ </a>
+ <img
+ src="/imgs/gifs/pride.gif"
+ width="88"
+ height="31"
+ loading="lazy"
+ decoding="async"
+ alt="LGBTQ Pride now!"
+ />
+ <a href="https://dnsense.pub/">
+ <img
+ src="/imgs/gifs/steam.gif"
+ width="88"
+ height="31"
+ loading="lazy"
+ decoding="async"
+ alt="Play on Steam!"
+ />
+ </a>
+ <img
+ src="/imgs/gifs/weezer.gif"
+ width="88"
+ height="31"
+ loading="lazy"
+ decoding="async"
+ alt="Weezer fan"
+ />
</div>
-</div>
+
+ <p>Served from commit {{ gitCommit }} (<a class="text-overlay0" href="https://github.com/getchoo/website">source</a>)</p>
+</footer>
diff --git a/src/_components/head.vto b/src/_components/head.vto
index 50af97a..551ca45 100644
--- a/src/_components/head.vto
+++ b/src/_components/head.vto
@@ -1,9 +1,8 @@
<head>
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta charset="UTF-8" />
<title>{{ title }}</title>
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="description" content={{ description }} />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/global.css" />
<link rel="sitemap" href="/sitemap.xml" />
</head>
diff --git a/src/_components/nav.vto b/src/_components/nav.vto
index f1d935a..c159e14 100644
--- a/src/_components/nav.vto
+++ b/src/_components/nav.vto
@@ -1,13 +1,9 @@
-<nav>
- <div class="flex flex-column justify-center mx-auto p-7">
- <ul class="inline">
- {{ for item of links }}
- <li class="inline text-base p-2">
- <a class="rounded-xl bg-yellow p-2" href={{ item.url }}>
- {{ item.name }}
- </a>
- </li>
- {{ /for }}
- </ul>
- </div>
+<nav class="space-y-5 text-xl my-5">
+ <p>
+ {{ for item of links }}
+ <a href={{ item.url }}>{{ item.name }}</a>
+ {{ /for }}
+ </p>
+
+ <hr>
</nav>
diff --git a/src/_includes/base.vto b/src/_includes/base.vto
deleted file mode 100644
index 0a74785..0000000
--- a/src/_includes/base.vto
+++ /dev/null
@@ -1,20 +0,0 @@
----
-links:
- - name: home
- url: "/"
- - name: miniflux
- url: "https://miniflux.mydadleft.me"
- - name: github
- url: "https://github.com/getchoo"
----
-
-<!DOCTYPE html>
-<html lang="en">
- {{ comp.head({ title, description })}}
-
- <body class="bg-base">
- {{ comp.nav({ links }) }}
- {{ content }}
- {{ comp.footer() }}
- </body>
-</html>
diff --git a/src/_includes/index.vto b/src/_includes/index.vto
deleted file mode 100644
index 4146b43..0000000
--- a/src/_includes/index.vto
+++ /dev/null
@@ -1,196 +0,0 @@
----
-layout: base.vto
----
-
-<div class="container">
- <div class="content">
- {{ content }}
- </div>
- <div
- class="bg-base hidden min-[1280px]:flex flex-col gap-2 text-center items-center justify-center m-20 mt-0 mb-5 p-5 rounded-lg drop-shadow-2xl"
- >
- <div id="gif">
- <img
- src="/imgs/gifs/legalize.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="legalize now!"
- />
- <img
- src="/imgs/gifs/acab.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="acab"
- />
- <a href="https://github.com/sakecode">
- <!--
- Powered by NixOS © 2023 by Sake is licensed under (CC BY-NC-SA 4.0)
- To view the source visit: https://github.com/sakecode/Sake-s-SVGs
- To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/
- -->
- <img
- src="/imgs/gifs/poweredbynix.svg"
- width="88"
- height="31"
- decoding="async"
- alt="powered by fedora"
- />
- </a>
- <img
- src="/imgs/gifs/capitalism.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="let's crush capitalism!"
- />
- </div>
- <div id="gif">
- <img
- src="/imgs/gifs/anybrowser.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="best viewed with any browser"
- />
- <img
- src="/imgs/gifs/weezer.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="weezer fan"
- />
- <a href="https://dnsense.pub/">
- <img
- src="/imgs/gifs/steam.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="play with steam"
- />
- </a>
- <img
- src="/imgs/gifs/vi.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="made with vi"
- />
- <img
- src="/imgs/gifs/pride.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="pride"
- />
- <img
- src="/imgs/gifs/imagine.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="imagination"
- />
- </div>
- <div id="gif">
- <img
- src="/imgs/gifs/moz.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="mozilla is cool"
- />
- <img
- src="/imgs/gifs/free.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="completely free software"
- />
- <img
- src="/imgs/gifs/gimp.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="graphics by gimp"
- />
- <img
- src="/imgs/gifs/explorer.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="marijuana mind explorer"
- />
- <img
- src="/imgs/gifs/jsfree.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="javascript free"
- />
- <img
- src="/imgs/gifs/web3.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="keep the web free! say no to web3!"
- />
- <img
- src="/imgs/gifs/tired.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="tired"
- />
- <img
- src="/imgs/gifs/arnold.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="hey arnold!"
- />
- <img
- src="/imgs/gifs/bob.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="powered by bob"
- />
- <img
- src="/imgs/gifs/counterstrike.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="counter-strike player"
- />
- <img
- src="/imgs/gifs/chris.gif"
- width="88"
- height="31"
- loading="lazy"
- decoding="async"
- alt="chris troll"
- id="chris_gif"
- />
- </div>
- </div>
-</div>
diff --git a/src/_includes/page.vto b/src/_includes/page.vto
index a3493ea..616ae4c 100644
--- a/src/_includes/page.vto
+++ b/src/_includes/page.vto
@@ -1,9 +1,23 @@
---
-layout: base.vto
+links:
+ - name: home
+ url: "/"
+ - name: miniflux
+ url: "https://miniflux.mydadleft.me"
+ - name: github
+ url: "https://github.com/getchoo"
---
-<div class="container">
- <div class="content" id="blogpost">
- {{ content }}
- </div>
-</div>
+
+<!DOCTYPE HTML>
+<html lang="en">
+{{ comp.head({ title, description }) }}
+<body class="bg-base text-text p-5 lg:p-0 text-md md:text-lg antialiased max-w-screen-md mx-auto my-10">
+ <h1>
+ <b>getchoo's website 🦕</b>
+ </h1>
+ {{ comp.nav({ links }) }}
+ {{ content }}
+ {{ comp.footer() }}
+</body>
+</html>
diff --git a/src/global.sass b/src/global.sass
index 8710fed..8fd7c0c 100644
--- a/src/global.sass
+++ b/src/global.sass
@@ -5,50 +5,9 @@
@tailwind utilities
@tailwind variants
-html
- font-family: "Noto Sans", sans-serif
-
-h1
- @apply text-base text-2xl
-
-h2
- @apply text-base text-xl
-
-h3
- @apply text-base text-lg
-
-p,li
- @apply text-base
-
- code
- @apply bg-base text-text p-[0.2em] text-sm rounded
-
- a
- @apply underline decoration-inherit
-
a
- @apply underline decoration-inherit
+ text-decoration: underline
+ @apply text-blue
-body
- @apply bg-base p-10
-
-.container
- @apply bg-lavender flex flex-auto flex-col items-center justify-center w-fit mx-auto rounded-lg
-
-.content
- @apply inline-block text-center p-5
-
-#blogpost
- h1
- @apply bg-base text-4xl mx-auto p-5 mb-5 mt-5 text-text text-center w-fit
-
- h2
- @apply bg-base text-xl mx-auto p-3 mb-5 mt-5 text-text text-center w-fit
-
- h3
- @apply bg-base text-lg mx-auto p-1 mb-5 mt-5 text-text text-center w-fit
-
- @apply lg:max-w-6xl text-left items-center
-
-#gif
- @apply flex gap-2
+h1
+ @apply text-3xl md:text-4xl
diff --git a/src/index.md b/src/index.md
new file mode 100644
index 0000000..138ec4a
--- /dev/null
+++ b/src/index.md
@@ -0,0 +1,21 @@
+---
+title: "guzzle guzzle"
+description: "guzzle guzzle"
+layout: page.vto
+---
+
+<a hidden rel="me" href="https://wetdry.world/@getchoo">my mastodon account</a>
+
+this is under construction. i'm experimenting with lume
+
+<img
+ src="/imgs/gifs/obras.gif"
+ width="106"
+ height="119"
+ class="m-10"
+ loading="lazy"
+ decoding="async"
+ alt="construction"
+/>
+
+[hehe funny click me](/lul)
diff --git a/src/index.vto b/src/index.vto
deleted file mode 100644
index d8483fa..0000000
--- a/src/index.vto
+++ /dev/null
@@ -1,27 +0,0 @@
----
-title: "guzzle guzzle"
-description: "guzzle guzzle"
-layout: index.vto
----
-
-<script src="/js/chrisApp.js"></script>
-<a hidden rel="me" href="https://wetdry.world/@getchoo">my mastodon account</a>
-<h1 class="bg-base w-fit h-fit mx-auto rounded p-5 text-text">
- <b>getchoo's website 🦕</b>
-</h1>
-
-<br />
-
-<p>this is under construction. i'm experimenting with lume</p>
-
-<img
- src="/imgs/gifs/obras.gif"
- width="106"
- height="119"
- class="mx-auto"
- loading="lazy"
- decoding="async"
- alt="construction"
-/>
-
-<a href="/lul">hehe funny click me</a>
diff --git a/src/lul.vto b/src/lul.vto
index 026546c..c24fd22 100644
--- a/src/lul.vto
+++ b/src/lul.vto
@@ -1,11 +1,9 @@
---
title: "fard"
description: "xd"
-layout: base.vto
+layout: page.vto
---
-<div class="flex justify-center p-5">
- <video width="1280" height="720" controls autoplay muted>
- <source src="/files/rickroll.mp4" type="video/mp4" />
- </video>
-</div>
+<video width="1280" height="720" controls autoplay muted>
+ <source src="/files/rickroll.mp4" type="video/mp4" />
+</video>
diff --git a/src/public/imgs/chris/bkender_bauob.jpg b/src/public/imgs/chris/bkender_bauob.jpg
deleted file mode 100644
index aa32641..0000000
--- a/src/public/imgs/chris/bkender_bauob.jpg
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/chris/blurry_chris.jpg b/src/public/imgs/chris/blurry_chris.jpg
deleted file mode 100644
index 331ab3e..0000000
--- a/src/public/imgs/chris/blurry_chris.jpg
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/chris/chis_very_fried.jpg b/src/public/imgs/chris/chis_very_fried.jpg
deleted file mode 100644
index e5ee71b..0000000
--- a/src/public/imgs/chris/chis_very_fried.jpg
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/chris/chris_medium_fried.jpg b/src/public/imgs/chris/chris_medium_fried.jpg
deleted file mode 100644
index b11f978..0000000
--- a/src/public/imgs/chris/chris_medium_fried.jpg
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/chris/chris_moshed.jpg b/src/public/imgs/chris/chris_moshed.jpg
deleted file mode 100644
index 6d1c3de..0000000
--- a/src/public/imgs/chris/chris_moshed.jpg
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/chris/fried_publisher.jpg b/src/public/imgs/chris/fried_publisher.jpg
deleted file mode 100644
index 0ac6e38..0000000
--- a/src/public/imgs/chris/fried_publisher.jpg
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/chris/help_me.png b/src/public/imgs/chris/help_me.png
deleted file mode 100644
index 3ac2f67..0000000
--- a/src/public/imgs/chris/help_me.png
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/chris/nice_chris.png b/src/public/imgs/chris/nice_chris.png
deleted file mode 100644
index af64d6a..0000000
--- a/src/public/imgs/chris/nice_chris.png
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/chris/nice_publisher.png b/src/public/imgs/chris/nice_publisher.png
deleted file mode 100644
index 759ef51..0000000
--- a/src/public/imgs/chris/nice_publisher.png
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/anybrowser.gif b/src/public/imgs/gifs/anybrowser.gif
deleted file mode 100644
index d7c0e0e..0000000
--- a/src/public/imgs/gifs/anybrowser.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/bob.gif b/src/public/imgs/gifs/bob.gif
deleted file mode 100644
index 90b6dd5..0000000
--- a/src/public/imgs/gifs/bob.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/chris.gif b/src/public/imgs/gifs/chris.gif
deleted file mode 100644
index a2ddbd5..0000000
--- a/src/public/imgs/gifs/chris.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/counterstrike.gif b/src/public/imgs/gifs/counterstrike.gif
deleted file mode 100644
index 612e116..0000000
--- a/src/public/imgs/gifs/counterstrike.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/explorer.gif b/src/public/imgs/gifs/explorer.gif
deleted file mode 100644
index 676ef7d..0000000
--- a/src/public/imgs/gifs/explorer.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/free.gif b/src/public/imgs/gifs/free.gif
deleted file mode 100644
index 6ed18d1..0000000
--- a/src/public/imgs/gifs/free.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/gimp.gif b/src/public/imgs/gifs/gimp.gif
deleted file mode 100644
index 382315e..0000000
--- a/src/public/imgs/gifs/gimp.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/gnu-linux.gif b/src/public/imgs/gifs/gnu-linux.gif
deleted file mode 100644
index 89e3562..0000000
--- a/src/public/imgs/gifs/gnu-linux.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/imagine.gif b/src/public/imgs/gifs/imagine.gif
deleted file mode 100644
index fc9f559..0000000
--- a/src/public/imgs/gifs/imagine.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/jsfree.gif b/src/public/imgs/gifs/jsfree.gif
deleted file mode 100644
index b83040c..0000000
--- a/src/public/imgs/gifs/jsfree.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/kmelon.gif b/src/public/imgs/gifs/kmelon.gif
deleted file mode 100644
index bc95862..0000000
--- a/src/public/imgs/gifs/kmelon.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/moz.gif b/src/public/imgs/gifs/moz.gif
deleted file mode 100644
index ad0653a..0000000
--- a/src/public/imgs/gifs/moz.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/poweredbyfedora.gif b/src/public/imgs/gifs/poweredbyfedora.gif
deleted file mode 100644
index a632810..0000000
--- a/src/public/imgs/gifs/poweredbyfedora.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/tired.gif b/src/public/imgs/gifs/tired.gif
deleted file mode 100644
index bf53872..0000000
--- a/src/public/imgs/gifs/tired.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/imgs/gifs/vi.gif b/src/public/imgs/gifs/vi.gif
deleted file mode 100644
index 9aa8301..0000000
--- a/src/public/imgs/gifs/vi.gif
+++ /dev/null
Binary files differ
diff --git a/src/public/js/chrisApp.js b/src/public/js/chrisApp.js
deleted file mode 100644
index eb78cfa..0000000
--- a/src/public/js/chrisApp.js
+++ /dev/null
@@ -1,30 +0,0 @@
-const chrisURL = "/imgs/chris/";
-
-function randomChris() {
- const files = [
- "chis_very_fried.jpg",
- "chris_medium_fried.jpg",
- "chris_moshed.jpg",
- "fried_publisher.jpg",
- "help_me.png",
- "nice_chris.png",
- "nice_publisher.png",
- "bkender_bauob.jpg",
- "blurry_chris.jpg",
- ];
-
- // this chooses a random file from the array
- const url = chrisURL + files[Math.floor(Math.random() * files.length)];
-
- window.location.href = url;
-}
-
-function findChris() {
- const chris = document.getElementById("chris_gif");
- chris
- ? chris.addEventListener("click", randomChris)
- : console.warn("Couldn't load chris app!");
-}
-
-// avoiding a race condition here
-setTimeout(findChris, 1000);