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 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-27 16:28:26 -05:00
parent d374f9ac17
commit c62dc84add
2 changed files with 4 additions and 4 deletions

View file

@ -165,9 +165,9 @@ export const ORG_KIND_LABEL: Record<string, string> = {
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: