Skip to content

Commit

Permalink
update about page conditional logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner committed Dec 12, 2024
1 parent 586fab5 commit 2d19cdb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/spotlight/src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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;
---

Expand Down

0 comments on commit 2d19cdb

Please sign in to comment.