Navigation in the admin: header and footer links, page titles, hidden pages, Shop

Pages -> Navigation (migration 075) edits the header's pages and buttons
and the footer's links; navConfig.ts is now only the defaults. Page titles
and intros move there from Site settings. A hidden page answers Not found
below viewer (server and app) and is out of the menus and sitemap; signed
in, it shows with a bar. Adds a /shop page of sections, hidden, with its
header button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aidan Dona 2026-10-16 18:01:02 -05:00
parent b49497cc59
commit 0cc2a3f721
30 changed files with 716 additions and 216 deletions

View file

@ -3,7 +3,7 @@
Bare on purpose. No PageShell, no announcement banner, no
footer site map. None of that belongs around a staff tool, and
/admin should never appear in navConfig.
/admin should never appear in Pages → Navigation.
Three areas share this chrome: Home, the CMS and the Panel. The
wordmark names whichever one you're in, and from anywhere but

View file

@ -114,6 +114,12 @@ export const PAGES_NAV = {
label: "Pages",
blurb: "What a page shows and in what order.",
children: [
// The header's and footer's links, page titles and hidden pages.
{
to: "/admin/navigation",
label: "Navigation",
blurb: "The header's pages and buttons, the footer's links, each page's title and intro, and which pages are hidden.",
},
// One record, not a list: the item opens it directly.
{
to: "/admin/front_page",
@ -147,6 +153,11 @@ export const PAGES_NAV = {
label: "History",
blurb: "Its sections: the timeline (its entries are under Data), and anything else.",
},
{
to: "/admin/shop_page",
label: "Shop",
blurb: "The shop's intro page: its sections and the links out to the store.",
},
],
};
@ -227,7 +238,7 @@ export const PANEL_NAV = {
{
to: SITE_SETTINGS,
label: "Site settings",
blurb: "The site's name, description, preview image, icons, page titles and search indexing.",
blurb: "The site's name, description, preview image, icons, colors, access groups and search indexing.",
},
],
};