diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-03 20:28:45 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-03 20:28:45 +0300 |
| commit | 17221b57f9345575add173be49efb4587fc3c828 (patch) | |
| tree | 55a025afb6a41a5816a3dc1a7134fa36ab4f4304 /src/components/layout/Header.astro | |
| parent | b97b4a0505a30989de76073e5443c4916ded1613 (diff) | |
Add privacy policy
Diffstat (limited to 'src/components/layout/Header.astro')
| -rw-r--r-- | src/components/layout/Header.astro | 22 |
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> |
