From c62dc84adde4ba6f08ff013e68c572f445d07f92 Mon Sep 17 00:00:00 2001 From: Zaldimmar Date: Sun, 27 Sep 2026 16:28:26 -0500 Subject: [PATCH] Point Community page links at the sections that exist The nav and the org pages' "All regions" and "All chapters" links used #local and #virtual, but the Community page's sections are #chapters and #regions, so those links didn't jump anywhere. The nav labels now match the section headings too. Co-Authored-By: Claude Opus 5.5 --- src/lib/hrefs.ts | 4 ++-- src/navConfig.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/hrefs.ts b/src/lib/hrefs.ts index 36bdcfe..a793416 100644 --- a/src/lib/hrefs.ts +++ b/src/lib/hrefs.ts @@ -165,9 +165,9 @@ export const ORG_KIND_LABEL: Record = { export function orgListHref(kind?: string | null): { to: string; label: string } { switch (kind) { case 'region': - return { to: '/community#local', label: 'All regions' } + return { to: '/community#regions', label: 'All regions' } case 'chapter': - return { to: '/community#local', label: 'All chapters' } + return { to: '/community#chapters', label: 'All chapters' } case 'partner': return { to: '/community#partners', label: 'All partner organizations' } default: diff --git a/src/navConfig.ts b/src/navConfig.ts index 9a43f86..967ee3b 100644 --- a/src/navConfig.ts +++ b/src/navConfig.ts @@ -27,8 +27,8 @@ export const PAGE_SECTIONS = { ], "/community": [ { label: "Community Blog", hash: "#blog" }, - { label: "Local Chapters", hash: "#local" }, - { label: "Virtual Community", hash: "#virtual" }, + { label: "Local Chapters", hash: "#chapters" }, + { label: "Unity Regions", hash: "#regions" }, { label: "Partner Organizations", hash: "#partners" }, ], "/leadership": [