Navigation: section dropdowns, a side nav, Home's sections from the front page

- The header's second strip is gone: each top link drops down its
  page's sections on hover or keyboard focus.
- Retreats, Community, Resources, Organization and History get the
  admin editors' "On this page" column (SectionNav), sticky at the
  left from lg up, with the section being read lit.
- Home's sections in the dropdown, mobile menu, footer site map, the
  feedback form and the QR maker are the bands the front page is
  showing, in its order and under its headings (navSections.ts,
  frontPageBands.ts, which Home.tsx now draws from too).
- Resources comes before Organization in the nav and footer.
- The Organization page draws from its own editor's content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-30 23:37:36 -05:00
parent 43797f38bc
commit ed0f12022f
16 changed files with 283 additions and 237 deletions

View file

@ -5,21 +5,15 @@ export const PAGE_LINKS = [
{ label: "Home", path: "/" },
{ label: "Retreats", path: "/retreats" },
{ label: "Community", path: "/community" },
{ label: "Organization", path: "/organization" },
{ label: "Resources", path: "/resources" },
{ label: "Organization", path: "/organization" },
{ label: "History", path: "/history" },
];
// Sections belong to a page, keyed by that page's path.
// A page with no sections gets no subnav row.
export const PAGE_SECTIONS = {
"/": [
{ label: "#Featured", hash: "#hero" },
{ label: "#Connect", hash: "#connect" },
{ label: "#Retreats", hash: "#retreats" },
{ label: "#Calendar", hash: "#calendar" },
{ label: "#About", hash: "#numbers" },
],
// Sections belong to a page, keyed by that page's path: the header's
// dropdowns, the mobile menu and the footer list them (navSections.ts).
// The front page's aren't here: they follow the bands it's showing.
export const PAGE_SECTIONS: Record<string, Array<{ label: string; hash: string }>> = {
"/retreats": [
{ label: "National", hash: "#national" },
{ label: "Regional", hash: "#regional" },