Reading mode spacing, phone map width, no fixed back links
- Reading mode: parts the page draws on their own lines get a space between them, so words no longer run together; the column is 60rem (was 42rem) and headings are bold in the display face. - Local groups map scales to its column on a phone instead of holding 34rem and scrolling sideways. - Group, region, partner and team pages drop their fixed back link (records are reached from many pages); orgListHref is gone. Not-found pages keep theirs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
de17da7dc8
commit
502a294940
7 changed files with 20 additions and 52 deletions
|
|
@ -151,18 +151,3 @@ export function refHref(
|
|||
return null
|
||||
}
|
||||
}
|
||||
|
||||
/* Where "back" goes from a record page. A group belongs to
|
||||
/community, a retreat to /retreats. */
|
||||
export function orgListHref(kind?: string | null): { to: string; label: string } {
|
||||
switch (kind) {
|
||||
case 'region':
|
||||
return { to: '/community#regions', label: 'All regions' }
|
||||
case 'group':
|
||||
return { to: '/community#groups', label: 'All groups' }
|
||||
case 'partner':
|
||||
return { to: '/community#partners', label: 'All partner organizations' }
|
||||
default:
|
||||
return { to: '/community', label: 'Community' }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue