aboutsummaryrefslogtreecommitdiff
path: root/stuff/beat/frame.php
diff options
context:
space:
mode:
authorHannah Isopod <me@bathynomus.xyz>2025-05-10 03:03:58 -0600
committerHannah Isopod <me@bathynomus.xyz>2025-05-10 03:03:58 -0600
commiteb61c1bae2ffad114e17393d91d86fb00d7ac8cd (patch)
tree4f997d73e0843dab760e5d988679a1a86b76f5da /stuff/beat/frame.php
parent4b9500ddeedbea21f80f41dfe4149cf3bf9be4c3 (diff)
Initialer commit
Just remade the repo because I don't *need* need a comprehensive source history for my personal website and this is easier than getting filter-repo to work good
Diffstat (limited to 'stuff/beat/frame.php')
-rw-r--r--stuff/beat/frame.php41
1 files changed, 41 insertions, 0 deletions
diff --git a/stuff/beat/frame.php b/stuff/beat/frame.php
new file mode 100644
index 0000000..5143943
--- /dev/null
+++ b/stuff/beat/frame.php
@@ -0,0 +1,41 @@
+<?php
+ function beat() {
+ return '@'.date("B");
+ }
+?>
+
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <title><?php echo beat(); ?></title>
+ <?php
+ $theme = $_GET['theme'];
+ echo "<link href='$theme.css' rel='stylesheet' type='text/css' media='all'>";
+ ?>
+ <style>
+ html, body {
+ height: 100%;
+ margin: 0;
+ padding: 0;
+ }
+ body {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 25px;
+ }
+ a {
+ text-decoration: inherit;
+ color: inherit;
+ }
+ </style>
+</head>
+
+<body>
+ <main>
+ <a target="_blank" href="/stuff/beat/"><?php echo beat(); ?></a>
+ </main>
+</body>
+
+</html> \ No newline at end of file