Skip to content
{/* ── NAV ─────────────────────────────────────────────── */}
{/* Tier 0, site-wide announcement */}
{/* Tier 1, site navigation */}
{/* Tier 2, sections of the current page */}
{sections.length > 0 && (
)}
{/* Keeps page content clear of the fixed header */}
{/* Page content */}
{/*Site Footer applied to every page*/}
{/* Mobile menu */}
{mobileMenuOpen && (
{PAGE_LINKS.map((page) => {
const pageSections = PAGE_SECTIONS[page.path] ?? [];
const isActive = location.pathname === page.path;
return (
`block text-2xl font-bold py-3 transition-colors ${
isActive ? "text-[#aac992]" : "text-white hover:text-[#9fe7d0]"
}`
}
>
{page.label}
{/* Sections nest under the page they belong to */}
{isActive && pageSections.length > 0 && (
)}
);
})}
{navActions.map((item) => (
setMobileMenuOpen(false)}
/>
))}
)}
);
}