diff options
author | Freya Murphy <freya@freyacat.org> | 2025-02-07 15:35:47 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-02-07 15:35:47 -0500 |
commit | 39e38a71528b7e7196ae4f227ebf399922a42dea (patch) | |
tree | b7b0fa43a6704ba8969354dfa655a2d375699210 /web/parts | |
parent | read (diff) | |
download | rit.wtf-39e38a71528b7e7196ae4f227ebf399922a42dea.tar.gz rit.wtf-39e38a71528b7e7196ae4f227ebf399922a42dea.tar.bz2 rit.wtf-39e38a71528b7e7196ae4f227ebf399922a42dea.zip |
updates
Diffstat (limited to 'web/parts')
-rw-r--r-- | web/parts/footer.php | 22 | ||||
-rw-r--r-- | web/parts/head.php | 14 | ||||
-rw-r--r-- | web/parts/header.php | 35 |
3 files changed, 71 insertions, 0 deletions
diff --git a/web/parts/footer.php b/web/parts/footer.php new file mode 100644 index 0000000..88ab860 --- /dev/null +++ b/web/parts/footer.php @@ -0,0 +1,22 @@ +<footer id="footer"> + <div id="buttons"> + <img src="<?=ASSETS->buttons->apocalypse?>" loading="lazy" onclick="document.documentElement.classList.toggle('flip')"/> + <img src="<?=ASSETS->buttons->amd?>" loading="lazy"/> + <img src="<?=ASSETS->buttons->dither?>" loading="lazy" onclick="document.documentElement.classList.toggle('dither')"/> + <a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Frit.wtf" target="_blank"> + <img src="<?=ASSETS->buttons->html?>" loading="lazy"/> + </a> + <img src="<?=ASSETS->buttons->ie?>" loading="lazy" onclick="document.documentElement.classList.toggle('strobe')"/> + <img src="<?=ASSETS->buttons->netscape?>" loading="lazy"/> + <a href="https://g.freya.cat/freya/rit.wtf" target="_blank"> + <img src="<?=ASSETS->buttons->download?>" loading="lazy"/> + </a> + </div> + <iframe + height="94" + id="john" + <? /* hack to disable firefox cookie warning*/?> + sandbox="allow-scripts" + src="https://john.citrons.xyz/embed?ref=rit.wtf" + ></iframe> +</footer> diff --git a/web/parts/head.php b/web/parts/head.php new file mode 100644 index 0000000..c5d6f78 --- /dev/null +++ b/web/parts/head.php @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <base target="_blank" /> + <link rel="stylesheet" href="<?=ASSETS->css->main?>"> + <link rel="stylesheet" href="<?=ASSETS->css->anim?>"> + <?php if(isset($css)): ?> + <link rel="stylesheet" href="<?=$css?>"> + <?php endif; ?> + <title><?=$title?></title> + </head> + <body> diff --git a/web/parts/header.php b/web/parts/header.php new file mode 100644 index 0000000..801ecfc --- /dev/null +++ b/web/parts/header.php @@ -0,0 +1,35 @@ + +<? /* needed for screen dither */ ?> +<div id="ditherMask"> +<div id="ditherFilter"> + +<? /* needed for screen strobe */ ?> +<menu id="strobe"></menu> + +<header id="header"> + + <? /* rit.wtf title */?> + <div id="title"> + <span style="animation-delay:-1.42s">r</span> + <span style="animation-delay:-1.22s">i</span> + <span style="animation-delay:-1.01s">t</span> + <span style="animation-delay:-0.81s">.</span> + <span style="animation-delay:-0.61s">w</span> + <span style="animation-delay:-0.41s">t</span> + <span style="animation-delay:-0.21s">f</span> + </div> + + <? /* nav bar */ ?> + <nav id="nav"> + <a href="/" class="btn"> + rit.wtf Home 🐯 + </a> + <a href="/gallery" class="btn"> + Munson Memorial 💀 + </a> + <a href="http://munsonmakesamillion.com/" target="_blank" class="btn"> + Munson Money 💸 + </a> + </nav> + +</header> |