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
|
|
@ -1,8 +1,8 @@
|
|||
/* ═══════════════════════════════════════════════════════════════
|
||||
COMMUNITY BLOG
|
||||
|
||||
The Community page's blog section (Admin → Pages → Community blog
|
||||
section). Two halves, each pinned first and then newest, as
|
||||
The Community page's blog section (Admin → Pages → Community
|
||||
page, its Community blog preset and the blog settings). Two halves, each pinned first and then newest, as
|
||||
routes/blog.js decides:
|
||||
|
||||
our posts cards for our own /blog/:id pages
|
||||
|
|
@ -10,8 +10,7 @@
|
|||
newest from the listed feeds), drawn by
|
||||
FeaturedCards, with a button to the Substack
|
||||
|
||||
The section's heading and blurb come from the same record; the
|
||||
page reads them through the same cached request (Community.tsx).
|
||||
The section's heading and blurb are its section's, like any other.
|
||||
A half with nothing in it isn't drawn.
|
||||
═══════════════════════════════════════════════════════════════ */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue