summaryrefslogtreecommitdiff
path: root/web/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/home.php')
-rw-r--r--web/home.php86
1 files changed, 86 insertions, 0 deletions
diff --git a/web/home.php b/web/home.php
new file mode 100644
index 0000000..3f1083e
--- /dev/null
+++ b/web/home.php
@@ -0,0 +1,86 @@
+<?php
+ // home page of rit.wtf
+ $title = 'rit.wtf - home';
+ include('parts/head.php');
+ include('parts/header.php');
+?>
+
+<? /* memes */ ?>
+<marquee id="memes" behavior="alternate">
+ <?php
+ $memes = (array) ASSETS->memes;
+ shuffle($memes);
+ foreach ($memes as $_key => $link) {
+ echo "<img src=\"{$link}\" loading=\"lazy\"/>";
+ }
+ ?>
+</marquee>
+
+<? /* motd */ ?>
+<div id="motd">
+ <p><?php
+ $messages = [
+ "Call 1-800-1ST-YEAR to get a sprinkler to go off in a dorm near you!",
+ "#1 in Lithium-ion battery fires!",
+ "Welcome daddy Sanders",
+ "Make sure to not be seen by the counter",
+ "Disfunctionally operating since 1829",
+ ];
+ echo $messages[array_rand($messages)];
+ ?></p>
+</div>
+
+<? /* links */ ?>
+<div id="links">
+ <div class="title">
+ <span>important stuff</span>
+ </div>
+ <div class="btn">
+ <a href="http://rochesterapex.com/" target="_blank">
+ <img src="<?=ASSETS->text->housing?>"/>
+ </a>
+ </div>
+ <div class="btn">
+ <a href="https://www.democratandchronicle.com/story/news/2021/08/31/peter-kiwitt-former-rit-professor-sex-trafficking/5589597001/" target="_blank">
+ <img src="<?=ASSETS->text->education?>"/>
+ </a>
+ </div>
+ <div class="btn">
+ <a href="https://www.rit.edu/fa/diningservices/gracies#1" target="_blank">
+ <img src="<?=ASSETS->text->food?>"/>
+ </a>
+ </div>
+</div>
+
+<? /* battery */ ?>
+<div id="battery">
+ <div class="title">
+ <p style="--rot: 0deg;">Lithium Ion Battery's</p>
+ <p style="--rot: 270deg;">Lithium Ion Battery's</p>
+ </div>
+ <div class="battery">
+ <img style="--rot: 0deg;" src="<?=ASSETS->fires->battery?>" loading="lazy"/>
+ <img style="--rot: 270deg;" src="<?=ASSETS->fires->battery?>" loading="lazy"/>
+ </div>
+</div>
+<div class="btn">
+ <a href="fire">See more 🔥</a>
+</div>
+
+<? /*sanders */ ?>
+<div id="sanders">
+ <div class="title"?>
+ <span>Welcome our new president!</span>
+ </div>
+ <div class="gallery">
+ <?php
+ foreach (ASSETS->sanders as $_key => $link) {
+ echo "<img src=\"{$link}\" loading=\"lazy\"/>";
+ }
+ ?>
+ </div>
+</div>
+
+<?php
+ include('parts/footer.php');
+?>