Multiple changes

+ Make the TV at the bottom have a random chance to show the trans flag
+ Homepage shows an ad for ByeCorps stuff
This commit is contained in:
bye 2024-06-06 15:25:23 +01:00
parent 6f95aa392f
commit 6873a59d19
7 changed files with 47 additions and 3 deletions

View file

@ -5,6 +5,16 @@ html {
background-color: #e6feff;
background-image: url(../img/background.bmp);
background-repeat: no-repeat;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
}
.hidden {
@ -21,6 +31,7 @@ html {
margin-top: 86px;
position: absolute;
left: 0;
}
.body {
@ -37,6 +48,7 @@ html {
padding-right: 16px;
width: 600px;
}
#people td > h3 {

View file

@ -7,6 +7,18 @@
<a href="/credits" style="padding-left: 5px">Credits</a>
</p>
</td>
<?php
$tentwentyfour = [
"1024x768.png",
"1024x768-t.png"
];
$tentwentyfour_url = $tentwentyfour[array_rand($tentwentyfour)];
?>
<td id="badges">
<a href="/feed.xml"><img src="/img/icons/feed.png" alt="RSS Feed"></a>
<a href="https://validator.w3.org/markup/check?uri=referer"><img

View file

@ -1,10 +1,29 @@
<p>No, we don't know what we're making either.</p>
<!---->
<!--<div style="background-color: #ff6f6f; margin: 16px -16px; padding: 16px;">-->
<!-- The server "potato" will be undergoing maintenance on Sunday, 31st March, hopefully around noon Irish Summer Time (@500 .beats) for a few minutes. Expect everything ByeCorps-related to go offline, including byecorps.com.-->
<!--</div>-->
<?php
$products = [
["src" => "/img/productads/parked.lol.gif", "name" => "parked.lol", "href" => "https://parked.lol"],
["src" => "/img/productads/bcid.gif", "name" => "ByeCorps ID", "href" => "https://id.byecorps.com"],
];
$random_product = $products[array_rand($products)];
?>
<div style="background-color: #eee; height: 200px; margin: 16px -16px; padding: 0">
<a href="<?= $random_product['href'] ?>">
<img src="<?= $random_product['src'] ?>" width="600" height="200" alt="<?= $random_product['name'] ?>">
</a>
</div>
<p class="socials">
Find us on: <br>
<a href="https://github.com/byecorps">GitHub</a>
<a href="https://fedi.byecorps.com/@byecorps">Fediverse</a>
<a href="https://youtube.com/@byecorps">YouTube</a>
<a href="https://t.me/byecorps">Telegram</a>
</p>
<h2>People</h2>
<table id="people">
@ -19,7 +38,7 @@
<a href="https://byemc.xyz">Website</a>
<a href="https://github.com/byemc">GitHub</a>
<a href="https://fedi.byecorps.com/@bye">Fediverse</a>
<a href="https://bye.omg.lol">omg.lol</a>
<a href="https://bye.omg.lol">omg.lol</a>
</p>
</td>
</tr>
@ -34,3 +53,4 @@
<a href="https://nineplus.sh">
<img src="./img/nineplus.gif" alt="ninePLUS"></a>
</div>

BIN
img/1024x768-t.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 755 B

BIN
img/productads/bcid.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View file

@ -43,4 +43,4 @@ if (isset($pages[$path])) {
include "404.html";
}
include ("footer.html");
include ("footer.php");