summaryrefslogtreecommitdiff
path: root/src/components/layout
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/layout')
-rw-r--r--src/components/layout/Header.astro22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/components/layout/Header.astro b/src/components/layout/Header.astro
index 0b03986..3eff4e0 100644
--- a/src/components/layout/Header.astro
+++ b/src/components/layout/Header.astro
@@ -126,16 +126,18 @@ import { siteConfig } from "../../site.config";
id="navigation-menu"
>
{
- menuLinks.map((link) => (
- <a
- aria-current={Astro.url.pathname === link.path ? "page" : false}
- class="px-4 py-4 underline-offset-2 hover:underline sm:py-0"
- data-astro-prefetch
- href={link.path}
- >
- {link.title}
- </a>
- ))
+ menuLinks
+ .filter((link) => link.path !== "/privacy-policy/")
+ .map((link) => (
+ <a
+ aria-current={Astro.url.pathname === link.path ? "page" : false}
+ class="px-4 py-4 underline-offset-2 hover:underline sm:py-0"
+ data-astro-prefetch
+ href={link.path}
+ >
+ {link.title}
+ </a>
+ ))
}
</nav>
</div>