From 832590ee329a43b74cde0087f874aa68594cd46f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 19 Oct 2026 02:58:05 -0400 Subject: notice now uses regular JS; TS type on blog --- src/layouts/Default.astro | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src/layouts') diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro index 9653392..0878e5a 100644 --- a/src/layouts/Default.astro +++ b/src/layouts/Default.astro @@ -41,6 +41,8 @@ const date = new Date(); + + {Astro.url.pathname == "/" && } @@ -56,15 +58,21 @@ const date = new Date(); plausible.init() + + + {title} - {(Astro.url.hostname == "alee14.me") && -
+
NOTICE: alee14.me will be switching to alee14.ca. Links will soon start redirecting to the new domain.
- }
@@ -172,7 +180,8 @@ const date = new Date(); monospace; } - .notice { + #notice { + display: none; background-color: #660F0F; padding: 1.2em; border-radius: 20px; -- cgit v1.2.3