diff --git a/apps/spotlight/src/components/Header.astro b/apps/spotlight/src/components/Header.astro index 95ff85db..d073cc86 100644 --- a/apps/spotlight/src/components/Header.astro +++ b/apps/spotlight/src/components/Header.astro @@ -13,9 +13,7 @@ const getNavLinkClasses = (url: string) => { }; const currentRoute = Astro.url.href; -console.log(currentRoute); -console.log(`${routes.getHomeUrl()}about`); -const isAboutContent = currentRoute.startsWith(`${routes.getHomeUrl()}about`); +const isAboutContent = currentRoute.includes(`/about/`); const showAboutContent = false; ---