aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/index.php b/index.php
index 91ec80e..0723c72 100644
--- a/index.php
+++ b/index.php
@@ -95,7 +95,11 @@ error_reporting(E_ALL); ?-->
<p class="prefers-contrast-less-message">If you're reading this with your eyes and not a screen reader, that means you have, somehow, indicated a preference that this page be displayed with reduced contrast. I genuinely have no clue how you did this, or how I as a web dev am supposed to handle it. I hope my solution of applying a reduced-contrast filter to the entire page is to your liking. If not, please contact me and tell me what you'd prefer I do here, because I'm genuinely lost.</p>
<section>
<p class="notice warning">Still a little bit under construction! Pages marked with âš ī¸ are mid-rebuild.</p>
- <div class="notice success"><p>The site is being prepared for a domain migration from https://isopod.cool/ to https://bugwo.men/. This is mostly because the former is undergoing a price hike soon and the latter is 8x cheaper.</p><p>The old domain has been renewed until 2028-07-29, after that it'll probably be allowed to expire. If you've got anything that links here, please update that before then.</p><p>-2026-09-06</p></div>
+ <?php
+ if($_SERVER['HTTP_HOST'] == "isopod.cool") {
+ echo("<div class='notice success'><p>The site is being prepared for a domain migration from https://isopod.cool/ to <a href='https://bugwo.men/'>https://bugwo.men</a>. This is mostly because the former is undergoing a price hike soon and the latter is 8x cheaper.</p><p>The old domain has been renewed until 2028-07-29, after that it'll probably be allowed to expire. If you've got anything that links here, please update that before then.</p><p>-2026-09-06</p></div>");
+ }
+ ?>
<div class="aside">
<a style='top: -24px; left: -32px; position: relative; height: 0; display: block; width: fit-content;' target="_blank" href="https://kelpeater.neocities.org/collections/isopods"><img alt="An isopod!" src="images/casiopea_isopod.png" height="64"></a>
<div class="aside-image">