// The site's navigation, declared once. Order is editorial: what the software // is, where its code lives, how to get it, what this deployment has done, what // changed. // // HEADER_NAV the header's links; // FOOTER_NAV the footer's "Sections" and the 404 page: the header's links, // then Changelog, which is in the footer only. // // Every entry must resolve on a `build:nodata` tree — /stats/ renders an honest // no-data panel and /source/ an honest "nothing published" rather than 404ing — // so the nav never has to be conditional. export type NavItem = { href: string; label: string }; export const HEADER_NAV: readonly NavItem[] = [ { href: "/docs/", label: "Docs" }, { href: "/source/", label: "Source" }, { href: "/downloads/", label: "Downloads" }, { href: "/stats/", label: "Stats" }, ]; export const FOOTER_NAV: readonly NavItem[] = [ ...HEADER_NAV, { href: "/changelog/", label: "Changelog" }, ];