docs: Website 1.0 section variants per template (confirmed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ every release).
|
|||||||
| 3 | Accounts 1.0.0 | **Released, rolled out and tested** (now `accounts@1.6.0`; [ACCOUNTS-1.0-PLAN.md](./ACCOUNTS-1.0-PLAN.md)) |
|
| 3 | Accounts 1.0.0 | **Released, rolled out and tested** (now `accounts@1.6.0`; [ACCOUNTS-1.0-PLAN.md](./ACCOUNTS-1.0-PLAN.md)) |
|
||||||
| 4 | Cross Events 3.0.0: sign-in through Accounts | **Released, rolled out and tested** (now `events@3.7.0`; [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)). Churches sign in through their Accounts; crosscode-site `v1.6.0` deployed |
|
| 4 | Cross Events 3.0.0: sign-in through Accounts | **Released, rolled out and tested** (now `events@3.7.0`; [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)). Churches sign in through their Accounts; crosscode-site `v1.6.0` deployed |
|
||||||
| 4+ | Running it: jobs from the dashboard, styled emails, .env from the Hub, sign-in health, the nightly people check; then frp config and one-product uninstalls, and the Hub's popups, pickers and port list | **Released, deployed and tested** 2026-11-20 and 2026-11-23 (below) |
|
| 4+ | Running it: jobs from the dashboard, styled emails, .env from the Hub, sign-in health, the nightly people check; then frp config and one-product uninstalls, and the Hub's popups, pickers and port list | **Released, deployed and tested** 2026-11-20 and 2026-11-23 (below) |
|
||||||
| 5 | Church Website 1.0.0 | **Planned** 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md) (all decisions confirmed). Font pairings confirmed 2026-11-24 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24, Hub `v2.21.0` 2026-11-25 (the Hub deployed 2026-11-25; the others not rolled out yet); `website@1.0.0` next |
|
| 5 | Church Website 1.0.0 | **Planned** 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md) (all decisions confirmed). Font pairings confirmed 2026-11-24, section variants per template 2026-11-25 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24, Hub `v2.21.0` 2026-11-25 (the Hub deployed 2026-11-25; the others not rolled out yet); `website@1.0.0` next |
|
||||||
| 6–7 | App 1.0.0 → App 1.x | Not started |
|
| 6–7 | App 1.0.0 → App 1.x | Not started |
|
||||||
|
|
||||||
## Released 2026-11-23
|
## Released 2026-11-23
|
||||||
|
|||||||
+131
-1
@@ -8,6 +8,9 @@ storage stops uploads). Not started.
|
|||||||
2026-11-23 with other work). The 8 font pairings in §3 ("Font pairings") were **confirmed by Joshua
|
2026-11-23 with other work). The 8 font pairings in §3 ("Font pairings") were **confirmed by Joshua
|
||||||
on 2026-11-24** (decision 15).
|
on 2026-11-24** (decision 15).
|
||||||
|
|
||||||
|
**Updated 2026-11-25:** the **section variants per template** in §3 were confirmed by Joshua
|
||||||
|
(decision 16).
|
||||||
|
|
||||||
**What the Website is:** the church's public site at `www.<church's address>` (or
|
**What the Website is:** the church's public site at `www.<church's address>` (or
|
||||||
`<church>.crosscode.co.za` on the Cross Code address), plus its admin at `/admin`. Admins sign in
|
`<church>.crosscode.co.za` on the Cross Code address), plus its admin at `/admin`. Admins sign in
|
||||||
through the church's Accounts. The church picks one of **four templates** and makes it its own with
|
through the church's Accounts. The church picks one of **four templates** and makes it its own with
|
||||||
@@ -210,6 +213,126 @@ files, slower), and very thin display faces (fail contrast at small sizes).
|
|||||||
Events and Accounts keep the system fonts they use now, so Events 3.7 and Accounts 1.7 look the same
|
Events and Accounts keep the system fonts they use now, so Events 3.7 and Accounts 1.7 look the same
|
||||||
until an admin picks a pairing. `corners` missing means `soft`.
|
until an admin picks a pairing. `corners` missing means `soft`.
|
||||||
|
|
||||||
|
### Section variants per template (confirmed 2026-11-25)
|
||||||
|
|
||||||
|
Answers "Still open: the exact section variants per template". The rule from the table above stays:
|
||||||
|
**every template renders every variant**, so no choice is ever greyed out and switching template
|
||||||
|
never needs a fallback. What a template adds is (a) which variant each section **starts with**,
|
||||||
|
(b) which variants it **recommends** (shown first, marked "Suits Heritage"), and (c) **how it draws**
|
||||||
|
each one. Variant ids are stored on the section (`hero.variant = "photo"`), so like the font ids
|
||||||
|
they never change once released.
|
||||||
|
|
||||||
|
**Variant ids**
|
||||||
|
|
||||||
|
| Section | Ids |
|
||||||
|
|---|---|
|
||||||
|
| Hero | `photo` · `video` · `collage` · `split` · `text` |
|
||||||
|
| Service times and location | `panel` · `strip` · `map` |
|
||||||
|
| Welcome / introduction | `text` · `image-text` · `pastor` |
|
||||||
|
| Ministries | `cards` · `list` · `bands` |
|
||||||
|
| Team / leaders | `faces` · `list` · `featured` |
|
||||||
|
| Upcoming events | `cards` · `list` · `calendar` |
|
||||||
|
| Latest message | `video` · `card` · `compact` |
|
||||||
|
| Invitation | `banner` · `centred` · `image` |
|
||||||
|
|
||||||
|
The mission line (ROADMAP §6's homepage order) is a field of the Welcome section, shown above the
|
||||||
|
introduction in every variant, not a section of its own.
|
||||||
|
|
||||||
|
**Defaults and recommendations** (default first, then the other recommended ones; anything not listed
|
||||||
|
still works)
|
||||||
|
|
||||||
|
| Section | Heritage | Bold | Community | Clean |
|
||||||
|
|---|---|---|---|---|
|
||||||
|
| Hero | **`photo`** (framed), `split`, `text` | **`video`**, `photo`, `split` | **`collage`**, `photo`, `split` | **`text`**, `split`, `photo` |
|
||||||
|
| Service times | **`panel`**, `map` | **`strip`**, `map` | **`map`**, `panel` | **`strip`**, `panel` |
|
||||||
|
| Welcome | **`pastor`**, `text` | **`image-text`**, `pastor` | **`pastor`**, `image-text` | **`text`**, `image-text` |
|
||||||
|
| Ministries | **`list`**, `cards` | **`bands`**, `cards` | **`cards`**, `bands` | **`list`**, `cards` |
|
||||||
|
| Team | **`featured`**, `faces` | **`faces`**, `featured` | **`faces`**, `featured` | **`list`**, `faces` |
|
||||||
|
| Events | **`list`**, `calendar` | **`cards`**, `calendar` | **`cards`**, `calendar` | **`list`**, `calendar` |
|
||||||
|
| Latest message | **`card`**, `video` | **`video`**, `card` | **`card`**, `video` | **`compact`**, `card` |
|
||||||
|
| Invitation | **`centred`**, `banner` | **`image`**, `banner` | **`banner`**, `image` | **`centred`**, `banner` |
|
||||||
|
|
||||||
|
**How each template draws them**
|
||||||
|
|
||||||
|
- **Heritage** (traditional, single centred column, thin rules between sections):
|
||||||
|
`photo` sits *inside* a frame below the centred logo and navigation, never full-bleed; `video` is
|
||||||
|
framed the same way. `collage` is three framed photos in a row. `split` keeps the image in a
|
||||||
|
frame with text on the cream side. `panel` is the formal service-times panel with a double rule.
|
||||||
|
`cards` are bordered, square-ish, with serif titles; `bands` alternate within the column width
|
||||||
|
rather than full-bleed. `faces` are circular portraits with names in small caps. `calendar` is a
|
||||||
|
month list with dates set in the heading font.
|
||||||
|
- **Bold** (full-bleed, large type, sticky header): `photo` and `video` fill the screen with the
|
||||||
|
headline overlaid on a scrim (contrast checked against the image's dark-scrim colour, not the
|
||||||
|
photo); `collage` is an edge-to-edge mosaic. `split` is 50/50 full-bleed. `strip` is a coloured
|
||||||
|
band right under the hero. `bands` are full-bleed alternating image / text. `cards` are large,
|
||||||
|
image-led, with the title on the image. `faces` are tall portrait crops. `text` hero is a huge
|
||||||
|
headline on the primary colour.
|
||||||
|
- **Community** (cards, soft shapes, tinted backgrounds, faces prominent): `collage` is overlapping
|
||||||
|
rounded photos with a soft blob shape behind; `photo` gets a curved bottom edge. Every list-like
|
||||||
|
section prefers a card grid; `list` still exists but with rounded rows and small thumbnails.
|
||||||
|
`map` shows the map in a rounded card next to the times. `faces` are big, with role and a short
|
||||||
|
line. Sections alternate light and tinted backgrounds by default (Section colour `tinted`).
|
||||||
|
- **Clean** (small header, white space, narrow column, colour as accent): `text` hero is the church's
|
||||||
|
headline in large type with the service time underneath, no image needed. `photo` is shown
|
||||||
|
*below* the headline at column width, never behind text. `video` is a contained player, never
|
||||||
|
autoplaying as a background. `strip` is one line of text with a thin accent rule. `cards` are
|
||||||
|
borderless with a hairline separator. `collage` is a tidy three-image grid. `bands` become
|
||||||
|
stacked image / text pairs within the column.
|
||||||
|
|
||||||
|
**Headers** (the "Header" style setting)
|
||||||
|
|
||||||
|
| Template | Options (default first) |
|
||||||
|
|---|---|
|
||||||
|
| Heritage | **Centred** (logo above, navigation below) · Centred with a top bar (service time and Plan your visit) |
|
||||||
|
| Bold | **Transparent over the hero, solid on scroll** · Solid |
|
||||||
|
| Community | **Logo left, navigation right, Plan your visit button** · Same with a tinted bar |
|
||||||
|
| Clean | **Small, logo left, text navigation** · Small with navigation in a menu on every width |
|
||||||
|
|
||||||
|
Every header collapses to a menu button on phones; the transparent one only applies when the page
|
||||||
|
starts with a `photo`, `video` or `collage` hero (otherwise it's solid, so it never sits on white
|
||||||
|
text over white).
|
||||||
|
|
||||||
|
**Default homepage order** (the church can reorder, hide and show)
|
||||||
|
|
||||||
|
| Template | Order |
|
||||||
|
|---|---|
|
||||||
|
| Heritage | Hero · Service times · Welcome · Latest message · Ministries · Team · Events · Invitation |
|
||||||
|
| Bold | Hero · Service times · Welcome · Events · Latest message · Ministries · Invitation (Team hidden) |
|
||||||
|
| Community | Hero · Welcome · Service times · Ministries · Team · Events · Latest message · Invitation |
|
||||||
|
| Clean | Hero · Service times · Welcome · Events · Latest message · Invitation (Ministries and Team hidden) |
|
||||||
|
|
||||||
|
**Style defaults when a template is picked** (the church changes them afterwards)
|
||||||
|
|
||||||
|
| Template | Section colour | Spacing | Buttons | Images | Corners (if the profile has none) |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| Heritage | Light | Airy | Outline | Natural | `sharp` |
|
||||||
|
| Bold | Mixed with dark bands | Compact | Solid | Natural | `sharp` |
|
||||||
|
| Community | Tinted | Airy | Pill | Natural | `round` |
|
||||||
|
| Clean | Light | Airy | Outline | Natural | `soft` |
|
||||||
|
|
||||||
|
Corners and the font pairing are shared (roadmap decision 47), so picking a
|
||||||
|
template only *suggests* them when the profile has none; it never overwrites a church's existing
|
||||||
|
brand style without the admin saying yes ("Use Heritage's fonts and corners for all your sites?").
|
||||||
|
|
||||||
|
**Switching template** (§4, a pending change like any other):
|
||||||
|
|
||||||
|
- A section still on the **old template's default** moves to the **new template's default**, so a
|
||||||
|
church that never touched variants gets the new template's intended look.
|
||||||
|
- A section the church **chose a variant for** keeps it (every template draws every variant).
|
||||||
|
- The homepage order and hidden sections are kept if the church changed them; otherwise the new
|
||||||
|
template's default order applies.
|
||||||
|
- Style settings follow the same rule: untouched ones take the new template's defaults, changed ones
|
||||||
|
stay. The Publish screen lists what moved ("Hero: Collage → Text only, Clean's default").
|
||||||
|
|
||||||
|
**Blocks on custom pages** use the same ids where they overlap (image and text: `image-text`,
|
||||||
|
people cards: `faces` / `list` / `featured`, call to action: `banner` / `centred` / `image`); the
|
||||||
|
other blocks (text, gallery, quote, video, FAQ, map, divider) have one layout each, drawn in the
|
||||||
|
template's style.
|
||||||
|
|
||||||
|
**Checks per variant:** the Playwright screenshots and axe run (§13) cover **every variant in every
|
||||||
|
template** for the homepage sections (26 section variants × 4 templates × 3 widths = 312
|
||||||
|
screenshots), using the demo church, plus a run with each template's defaults for Lighthouse.
|
||||||
|
|
||||||
## 4. Drafts, preview and publish
|
## 4. Drafts, preview and publish
|
||||||
|
|
||||||
Decision 2: **one Publish for the whole site.**
|
Decision 2: **one Publish for the whole site.**
|
||||||
@@ -451,8 +574,15 @@ Confirmed on 2026-11-24:
|
|||||||
`friendly`, `warm`, `modern`, three recommended per template. A church without one keeps
|
`friendly`, `warm`, `modern`, three recommended per template. A church without one keeps
|
||||||
the system fonts in Events and Accounts; `corners` defaults to `soft`.
|
the system fonts in Events and Accounts; `corners` defaults to `soft`.
|
||||||
|
|
||||||
|
Confirmed on 2026-11-25:
|
||||||
|
|
||||||
|
16. **Section variants per template** in §3: every template draws every variant (26 variant ids,
|
||||||
|
fixed once released), with a default and recommendations per template; per-template headers,
|
||||||
|
homepage order (Bold hides Team, Clean hides Ministries and Team) and style defaults; picking a
|
||||||
|
template only suggests the shared fonts and corners; a template switch moves untouched sections
|
||||||
|
and settings to the new defaults and keeps the church's own choices.
|
||||||
|
|
||||||
## Still open
|
## Still open
|
||||||
|
|
||||||
- The exact section variants per template: settled with the template designs, early in the build.
|
|
||||||
- Whether the App (phase 6) moves leaders, ministries and giving into `crosscode.church/1` or reads
|
- Whether the App (phase 6) moves leaders, ministries and giving into `crosscode.church/1` or reads
|
||||||
them from the Website. Decide with the App plan.
|
them from the Website. Decide with the App plan.
|
||||||
|
|||||||
Reference in New Issue
Block a user