From ba6c4bdcd5ed4ab974bf0812af7ad0c248c24652 Mon Sep 17 00:00:00 2001 From: Zeeshan Adil Date: Wed, 28 Oct 2026 02:49:32 +0500 Subject: [PATCH] fix(nav): order header links like the homepage sections Impact, Programs, Partners and Resources now appear in the order they come on the page, with Community links where the communities section closes the page, then Team and Blog. --- components/home/data.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/components/home/data.ts b/components/home/data.ts index fb25c64..af2d326 100644 --- a/components/home/data.ts +++ b/components/home/data.ts @@ -38,14 +38,18 @@ export const LINKS = { export const mailto = (subject: string) => `mailto:${LINKS.email}?subject=${encodeURIComponent(subject)}` -/** Root-relative so the same header works on every page of the site */ +/** + * Root-relative so the same header works on every page of the site. Links follow + * the homepage section order (Community links sits where the communities section + * is, last); Team and Blog are pages of their own and come after. + */ export const navItems = [ - { label: "Programs", href: "/#programs" }, { label: "Impact", href: "/#impact" }, - { label: "Team", href: LINKS.ourStory }, - { label: "Community links", href: "/links" }, + { label: "Programs", href: "/#programs" }, { label: "Partners", href: "/#partners" }, { label: "Resources", href: "/#resources" }, + { label: "Community links", href: "/links" }, + { label: "Team", href: LINKS.ourStory }, { label: "Blog", href: "/blog" }, ]