Page editors: Retreats, Community, Resources, Organization and History built from sections
Each page is now a list of sections edited in Admin → Pages: a title (30 characters at most, for the side nav), URL ID, blurb and accent, its own content blocks, and an optional preset (Community blog, groups map, region list, partner cards, events, timeline, NGU's details). Migration 056 seeds every page as the code drew it and moves the Organization editor's blocks and volunteering into its sections. The Community blog's settings move into the Community editor. The header, footer and side nav read each page's sections from the API. The admin engine reads and writes nested collections to any depth. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4a1d6fd6e9
commit
9daf7b1a4f
29 changed files with 972 additions and 938 deletions
|
|
@ -100,15 +100,32 @@ export const PAGES_NAV = {
|
|||
label: "Front page",
|
||||
blurb: "The hero, its photos or livestream, and which bands the home page draws.",
|
||||
},
|
||||
// The site's own pages, in the header's order: each is its
|
||||
// sections, built in the editor (sitePages.ts).
|
||||
{
|
||||
to: "/admin/retreats_page",
|
||||
label: "Retreats",
|
||||
blurb: "Its sections: the event carousels and grids, and anything else written for it.",
|
||||
},
|
||||
{
|
||||
to: "/admin/community_page",
|
||||
label: "Community blog section",
|
||||
blurb: "The Community page's blog: headings, pinned posts and feeds.",
|
||||
label: "Community",
|
||||
blurb: "Its sections: the blog (and its pinned posts and feeds), groups map, regions and partners.",
|
||||
},
|
||||
{
|
||||
to: "/admin/resources_page",
|
||||
label: "Resources",
|
||||
blurb: "Its sections and their content.",
|
||||
},
|
||||
{
|
||||
to: "/admin/organization_page",
|
||||
label: "Organization page",
|
||||
blurb: "Mission, vision and values, the leadership teams in order, and volunteering.",
|
||||
label: "Organization",
|
||||
blurb: "Mission, vision and values, the leadership teams and volunteering, details and contact.",
|
||||
},
|
||||
{
|
||||
to: "/admin/history_page",
|
||||
label: "History",
|
||||
blurb: "Its sections: the timeline (its entries are under Data), and anything else.",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue