website 1.12.0: three layouts for each page that lists something

- PAGE_VARIANTS: ministriesPage alternating/cards/list, leadershipPage grid/featured/list,
  eventsPage list/cards/months, messagesPage grid/featured/list, contactPage
  columns/map/cards. Kept in the design's variants beside the homepage sections', so each
  template recommends some and starts a new site on the first (its suggestion), PUT /design
  checks them, and a template switch moves an untouched one.
- A design saved before has none: cleanDesign gives it LEGACY_PAGE_LAYOUTS (the look until
  now), and the site draws a snapshot without them the same way, so nothing changes until a
  church picks one. Contact's map layout without a place on the map draws as two columns.
  Ministries and messages keep their #slug anchors in every layout.
- Admin: the layout at the top of a listing page in Pages, the suggestion marked; Template
  and style gets an Other pages tab with all five.
- Tests: backend (156, five new); e2e page-layouts.spec.ts (every layout in every template,
  axe at phone and desktop; 60 passed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 10:59:59 +02:00
co-authored by Claude Opus 5.5
parent 43187513d7
commit 777b045053
18 changed files with 620 additions and 126 deletions
+10
View File
@@ -3,6 +3,16 @@
What each version changes for the church, in plain language (read by the Hub like Cross Events'
WHATS-NEW.md; a section shows once its version is tagged).
## 1.12.0
- **Choose how your Ministries, Leadership, Events, Messages and Contact pages look.** Each has
three layouts: ministries as alternating photo and text, cards, or a list with small photos;
your team as a grid of faces, with the lead pastor first, or a list; events as a list, cards
with photos, or grouped by month; messages as a grid of videos, the latest first then a list,
or a list; contact details in two columns, with a map, or as cards. Your template suggests one
for each page. Choose it at the top of the page in **Pages**, or all five together under
**Template and style → Other pages**. Your pages look the same as before until you choose.
## 1.11.0
- **Layouts and backgrounds for the blocks on your other pages.** Open a block in **Pages** to