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:
parent
d374f9ac17
commit
c62dc84add
2 changed files with 4 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue