website 1.10.0: the home page laid out from its editor; photos that match the layout

- Pages → Home: each section's layout and background when it's open, and move up, move down
  and show or hide on its header. They save straight to the design, as Template and style →
  Home page layout does (which keeps them too). Shared lists in admin/layouts.ts.
- A section offers only the photo fields its layout shows: a slot for each (hero: 1 for Photo,
  Video and Split, 3 for Collage, none for Text only); Welcome's photo and pastor and the
  Invitation's photo only for the layouts that use them. Photos for other layouts are kept.
- e2e: the hero opens with /^Top of the page/; a new test for the editor's layout controls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 08:56:08 +02:00
co-authored by Claude Opus 5.5
parent 101248195f
commit 8b1d1da5a9
12 changed files with 264 additions and 66 deletions
+2 -2
View File
@@ -363,7 +363,7 @@
},
"apps/website/backend": {
"name": "@crosscode/website-backend",
"version": "1.9.0",
"version": "1.10.0",
"hasInstallScript": true,
"dependencies": {
"@crosscode/auth-client": "*",
@@ -393,7 +393,7 @@
},
"apps/website/frontend": {
"name": "@crosscode/website-frontend",
"version": "1.9.0",
"version": "1.10.0",
"dependencies": {
"@crosscode/contracts": "*",
"@crosscode/seo": "*",