commit
inital commit
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..48e50fd
--- /dev/null
+++ b/index.html
@@ -0,0 +1,23 @@
+<!-- index.html -->
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="robots" content="noindex">
+ <title>Redirecting…</title>
+
+ <!-- No-JS fallback: plain redirect to the homepage after 2s -->
+ <meta http-equiv="refresh" content="2;url=https://doughmination.gay/">
+
+ <link rel="stylesheet" href="/style.css">
+ <script src="/redirect.js" defer></script>
+</head>
+<body>
+ <div class="spinner" aria-hidden="true"></div>
+
+ <p role="status">
+ Taking you to <a id="target" href="https://doughmination.gay/">doughmination.gay</a>…
+ </p>
+</body>
+</html>
diff --git a/redirect.js b/redirect.js
new file mode 100644
index 0000000..473bcf0
--- /dev/null
+++ b/redirect.js
@@ -0,0 +1,16 @@
+/* redirect.js */
+
+const destination = "https://doughmination.gay";
+
+// How long the spinner shows before redirecting
+const delayMs = 1200;
+
+// Keep the path and query, so fae.is-a.dev/foo goes to doughmination.gay/foo
+const target = destination + location.pathname + location.search + location.hash;
+
+document.getElementById("target").href = target;
+
+setTimeout(
+ () => location.replace(target),
+ delayMs,
+);
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..36487b8
--- /dev/null
+++ b/style.css
@@ -0,0 +1,54 @@
+/* style.css */
+
+:root {
+ --background: #fdf2f8;
+ --text: #3b0a2a;
+ --track: #f9d0e4;
+ --accent: #db2777;
+}
+
+@media (prefers-color-scheme: dark) {
+ :root {
+ --background: #1a0b16;
+ --text: #fce7f3;
+ --track: #3b1730;
+ --accent: #f472b6;
+ }
+}
+
+body {
+ margin: 0;
+ min-height: 100vh;
+ display: grid;
+ place-content: center;
+ justify-items: center;
+ gap: 1.25rem;
+ background: var(--background);
+ color: var(--text);
+ font-family: system-ui, sans-serif;
+}
+
+.spinner {
+ width: 48px;
+ height: 48px;
+ border: 5px solid var(--track);
+ border-top-color: var(--accent);
+ border-radius: 50%;
+ animation: spin 0.8s linear infinite;
+}
+
+@keyframes spin {
+ to {
+ transform: rotate(360deg);
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .spinner {
+ animation-duration: 3s;
+ }
+}
+
+a {
+ color: var(--accent);
+}