Compare changes

Choose any two refs to compare.

Changed files
+55
site
assets
styles
toys
whoami
+11
site/whoami/index.php
···
+
<?php
+
+
// i literally just set a custom header in my reverse proxy
+
// that maps to the remote ip
+
// so i could do this with a PHP page in docker
+
+
$remoteip = $_SERVER['HTTP_X_GOTM_REMOTE_IP'];
+
+
?>
+
+
<?php echo $remoteip ?>
+7
site/assets/styles/main.css
···
+
@import url(https://fonts.bunny.net/css?family=jetbrains-mono:400);
+
@media only screen and (max-width: 576px) {
main {
font-size: 4vw !important;
···
}
+
code {
+
font-size: .9rem;
+
font-family: "JetBrains Mono", monospace;
+
}
+
#commit {
margin-top: .8rem;
}
+1
site/nav_main.php
···
<li><a href="/elsewhere">elsewhere</a></li>
<li><a href="/docs">docs</a></li>
<li><a href="/vids">videos</a></li>
+
<li><a href="/toys">toys</a></li>
<li><a href="/floppies">floppies</a></li>
<li><a href="/">refresh</a></li>
</ul>
+36
site/toys/index.php
···
+
<?php
+
+
include "../httpheaders.php";
+
+
?>
+
+
<!DOCTYPE html>
+
<html lang="en">
+
+
<?php include "../head.php" ?>
+
+
<body>
+
+
<main>
+
<header>
+
<h1 class="highlight" id="toys">toys</h1>
+
</header>
+
+
<?php include "../nav_main.php" ?>
+
+
<p>just some fun stuff i have on this site <span aria-label="smile" role="img">:)</span></p>
+
+
<h2 id="terminal" class="highlight">terminal</h2>
+
+
<dl>
+
<dt>ping pong!</dt>
+
<dd><code>curl girlonthemoon.xyz/ping</code> (<a href="/ping">browser</a>)</dd>
+
<dt>IP checker</dt>
+
<dd><code>curl girlonthemoon.xyz/whoami</code> (<a href="/whoami">browser</a>)</dd>
+
</dl>
+
+
</main>
+
+
</body>
+
+
</html>