Skip to content

Commit 8318e0c

Browse files
committed
feat(navbar): hide unfinished pages
1 parent 9ba7c38 commit 8318e0c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/lib/config.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ const mainNav: NavItem[] = [
2626
{ href: "/about-us/partners", label: "Partners" },
2727
],
2828
},
29-
{ href: "/upcoming-event", label: "Upcoming Event" },
30-
{ href: "/our-work", label: "Our Work" },
31-
{ href: "/blog", label: "Blog" },
3229
{
3330
href: "/join-us",
3431
label: "Join Us",
@@ -44,7 +41,12 @@ const mainNav: NavItem[] = [
4441
/**
4542
* Routes that should be included in the sitemap but hidden from the header navigation.
4643
*/
47-
const sitemapOnlyNav: NavItem[] = resources.map((r) => ({ href: `/resources/${r.slug}`, label: r.title }));
44+
const sitemapOnlyNav: NavItem[] = [
45+
{ href: "/upcoming-event", label: "Upcoming Event" },
46+
{ href: "/our-work", label: "Our Work" },
47+
{ href: "/blog", label: "Blog" },
48+
...resources.map((r) => ({ href: `/resources/${r.slug}`, label: r.title })),
49+
];
4850

4951
export const siteConfig = {
5052
title: "ALPHA HKU",

0 commit comments

Comments
 (0)