From 7c66cd3159c1861ce4e869b2e9cfb94519a86009 Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Sun, 10 Mar 2024 19:28:02 +0100 Subject: [PATCH] Fix homepage scroll nav links --- src/components/Menu.astro | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Menu.astro b/src/components/Menu.astro index 4a7b6b2d..474b1ae2 100644 --- a/src/components/Menu.astro +++ b/src/components/Menu.astro @@ -1,7 +1,6 @@ --- const currentPath = Astro.url.pathname; const isHomepage = currentPath === "/" || currentPath === "/index.html"; -const homeScroll = isHomepage ? 'class="scroll"' : ""; ---