added admin login to frontend + obscurification for contact details

This commit is contained in:
2026-05-14 17:21:34 +02:00
parent 0102c89d81
commit 244dc076cb
13 changed files with 722 additions and 44 deletions
+12 -1
View File
@@ -167,7 +167,18 @@ const hasContact = (siteConfig.contact_links?.length ?? 0) > 0;
)}
</div>
<div class="text-[var(--overlay0)] text-xs italic">
&copy; {year} · {siteConfig.title}
&copy;
{isAdmin ? (
<span>{year}</span>
) : (
<a
href="/admin/login"
aria-label="Sign in"
title="Sign in"
class="text-inherit no-underline hover:text-[var(--mauve)] transition-colors"
>{year}</a>
)}
· {siteConfig.title}
</div>
</footer>
</body>