From 001fc710d8b662080098d8d7dcba2c668bcb0587 Mon Sep 17 00:00:00 2001
From: memdmp <memdmp@estrogen.zone>
Date: Wed, 20 Aug 2025 20:55:34 +0000
Subject: feat: do things

---
 src/routes/+layout.svelte | 54 +++++++++++++++++++++++++++++++----------------
 1 file changed, 36 insertions(+), 18 deletions(-)

(limited to 'src/routes/+layout.svelte')

diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index dc81706..61bd14e 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -10,22 +10,40 @@
   <link rel="icon" href={favicon} />
 </svelte:head>
 
-<nav class="header">
-  <h1 class="text-4xl">crunched</h1>
-  <p>
-    <a href="/">home</a> - {#if page.data.session}<a href="/vms">vms</a> -
-      <a
-        href="/login/undo?next={encodeURIComponent(
-          page.url.pathname + page.url.search
-        )}">logout</a
-      >{:else}<a
-        href="/login?scope=default&next={encodeURIComponent(
-          page.url.pathname + page.url.search
-        )}">login</a
-      >{/if}
+<div id="app">
+  <nav class="header">
+    <h1 class="text-4xl">crunched</h1>
+    <p>
+      <a href="/home">home</a> - {#if page.data.session}<a href="/vms">vms</a> -
+        <a
+          href="/login/undo?next={encodeURIComponent(
+            page.url.pathname + page.url.search
+          )}">logout</a
+        >{:else}<a
+          href="/login?scope=default&next={encodeURIComponent(
+            page.url.pathname + page.url.search
+          )}">login</a
+        >{/if}
+    </p>
+    <div class="my-2">
+      <hr />
+    </div>
+  </nav>
+  {@render children?.()}
+</div>
+
+<footer class="-mb-3 mt-3">
+  <p class="text-xs">
+    <span class="opacity-60 hover:opacity-100 transition-opacity">
+      Copyright (c) 2025 Neobot Verein.
+    </span><br />
+    <span class="opacity-60 hover:opacity-100 transition-opacity">
+      <a href="https://git.estrogen.zone/crunched.git/">Source Code</a>
+      <small>AGPL3</small>
+    </span>
+    <span class="opacity-60"> - </span>
+    <span class="opacity-60 hover:opacity-100 transition-opacity"
+      ><a href="/aup">Acceptable Use Policy</a></span
+    >
   </p>
-  <div class="my-2">
-    <hr />
-  </div>
-</nav>
-{@render children?.()}
+</footer>
-- 
cgit v1.2.3

