docs: HANDOVER up to the 2026-11-23 releases; Website plan targets Hub 2.21.0; font pairings proposed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,10 @@ Phase **5** of [ROADMAP-v3.md](./ROADMAP-v3.md) (§6, §9, §10, §11; decisions
|
||||
Written 2026-11-21. **All decisions confirmed by Joshua on 2026-11-21** (12 changed: a full
|
||||
storage stops uploads). Not started.
|
||||
|
||||
**Updated 2026-11-24:** the Hub release is **2.21.0**, not 2.13.0 (the Hub reached 2.20.0 on
|
||||
2026-11-23 with other work). The 8 font pairings are **proposed** in §3 ("Font pairings"), waiting
|
||||
on Joshua's confirmation.
|
||||
|
||||
**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
|
||||
through the church's Accounts. The church picks one of **four templates** and makes it its own with
|
||||
@@ -17,7 +21,7 @@ prove it repeats. Then it goes on sale (crosscode-site, ROADMAP §9).
|
||||
|
||||
**Done when:**
|
||||
|
||||
- `website@1.0.0`, `contracts@1.17.0`, `accounts@1.7.0`, `events@3.7.0` and Hub `v2.13.0` are
|
||||
- `website@1.0.0`, `contracts@1.17.0`, `accounts@1.7.0`, `events@3.7.0` and Hub `v2.21.0` are
|
||||
tagged; the Hub installs the Website from New install (after Accounts) and lists its releases.
|
||||
- All four templates pass the same checks (§13) at phone, tablet and desktop sizes: layout, axe, the
|
||||
§11 SEO checks, and Lighthouse (SEO 100, accessibility 95+, performance 90+).
|
||||
@@ -156,6 +160,56 @@ in 1.x (they're part of the product, ROADMAP §1 rule 3).
|
||||
heroes). The duotone treatment makes uneven photos look consistent. Every image needs alt text.
|
||||
Uploads are resized into responsive sizes (WebP and JPEG).
|
||||
|
||||
### Font pairings (proposed 2026-11-24, not yet confirmed)
|
||||
|
||||
Eight pairings, a heading font and a body font each. All are **SIL Open Font License 1.1** (free to
|
||||
self-host and bundle; the licence text ships with them), all are **variable fonts** (one file per
|
||||
style covers every weight) and all cover **Latin Extended** (Afrikaans ê, ë, ô and names from other
|
||||
languages). The id is what `branding.style.fontPairing` stores, so ids never change once released;
|
||||
names and fonts shown to churches can.
|
||||
|
||||
| Id | Shown as | Headings | Body | Feel | Recommended for |
|
||||
|----|----------|----------|------|------|-----------------|
|
||||
| `classic` | Classic | Lora | Source Sans 3 | Traditional serif headings, a plain readable body | Heritage, Clean |
|
||||
| `scholarly` | Scholarly | EB Garamond | EB Garamond | Old-style book type throughout; dignified | Heritage |
|
||||
| `editorial` | Editorial | Playfair Display | Inter | High-contrast magazine headlines over a neutral body | Heritage, Bold |
|
||||
| `impact` | Impact | Oswald | Source Sans 3 | Tall condensed headlines, uppercase-friendly; loud over photos | Bold |
|
||||
| `contemporary` | Contemporary | Outfit | DM Sans | Geometric, modern, light-handed | Bold, Community, Clean |
|
||||
| `friendly` | Friendly | Nunito | Nunito | Rounded ends throughout; warm and informal | Community |
|
||||
| `warm` | Warm | Fraunces (soft) | Nunito Sans | A soft, characterful serif with a gentle sans | Community |
|
||||
| `modern` | Modern | Inter | Inter | One neutral sans, tight headings; lets colour and photos lead | Clean |
|
||||
|
||||
Each template recommends three (its first is the default when a church picks that template):
|
||||
|
||||
| Template | Recommended (default first) |
|
||||
|----------|-----------------------------|
|
||||
| Heritage | `classic`, `scholarly`, `editorial` |
|
||||
| Bold | `impact`, `contemporary`, `editorial` |
|
||||
| Community | `friendly`, `warm`, `contemporary` |
|
||||
| Clean | `modern`, `classic`, `contemporary` |
|
||||
|
||||
**Why these:** two each of traditional serif, display serif, strong sans and soft sans, so every
|
||||
template has a real choice of mood; every pairing is recommended at least once. Avoided: script and
|
||||
handwritten faces (hard to read, poor in long text), fonts that only exist as static weights (many
|
||||
files, slower), and very thin display faces (fail contrast at small sizes).
|
||||
|
||||
**How they're served** (`packages/ui`):
|
||||
|
||||
- From the `@fontsource-variable/*` npm packages, pinned in the lockfile and copied into each app's
|
||||
build; no request leaves the church's site (decision 13).
|
||||
- Only the Latin and Latin Extended subsets, `woff2` only. A pairing is at most four files (heading
|
||||
and body, upright and italic; one family = two). Budget: **≤ 160 KB per pairing** for the files a
|
||||
page actually uses; checked in CI.
|
||||
- The heading font is preloaded; the body font is not. `font-display: swap` with a metric-matched
|
||||
fallback (`size-adjust`, `ascent-override`) on Georgia or Arial, so swapping doesn't shift the
|
||||
layout (CLS, the Lighthouse target in §13).
|
||||
- CSS variables `--cc-font-heading` and `--cc-font-body` from the profile, next to the colours and
|
||||
`--cc-radius` (corners).
|
||||
|
||||
**A church without a `fontPairing`** (every church today): the Website uses its template's default;
|
||||
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`.
|
||||
|
||||
## 4. Drafts, preview and publish
|
||||
|
||||
Decision 2: **one Publish for the whole site.**
|
||||
@@ -293,7 +347,7 @@ only freed when neither the working copy nor the last 10 published versions use
|
||||
- **Hub protocol v2, product `website`.** The heartbeat's `websiteStatsSchema` is already in the
|
||||
contracts (pages, messages, events, editors, storage). A Website licence needs the church's
|
||||
Accounts, installed first (as Events 3.x).
|
||||
- **Hub 2.13.0:** New install offers the Website; release sync for `website@` tags and
|
||||
- **Hub 2.21.0:** New install offers the Website; release sync for `website@` tags and
|
||||
`apps/website/WHATS-NEW.md`; its env template; the Website's price (R99) and the storage add-on
|
||||
(R20 per extra 5 GB, sent to the site with the licence as its storage limit, and the "Get more storage"
|
||||
request with its email to Joshua) in `frontend/src/lib/tiers.ts` and `backend/src/utils/billing/tiers.js`, in
|
||||
@@ -323,7 +377,7 @@ only freed when neither the working copy nor the last 10 published versions use
|
||||
| `crosscode-platform` `apps/accounts` | `branding.style` in the church profile, the shared fonts and footer, the Website's admins saving the profile | `accounts@1.7.0` |
|
||||
| `crosscode-platform` `apps/events` | Public pages with the shared fonts, corners and footer | `events@3.7.0` |
|
||||
| `crosscode-platform` `scripts/` | `products/website.sh`, `website.env.template.json`, bats tests | — |
|
||||
| `events-hub` | Website in New install, its releases, env template, prices and storage add-on, FastPanel email | Hub `v2.13.0` |
|
||||
| `events-hub` | Website in New install, its releases, env template, prices and storage add-on, FastPanel email | Hub `v2.21.0` |
|
||||
| `crosscode-site` | Church Website on sale (ROADMAP §9): its page, prices, a page per template, screenshots of the demo church, FAQ, `SoftwareApplication` JSON-LD | `v1.7.0` |
|
||||
|
||||
## 13. Testing
|
||||
@@ -350,7 +404,7 @@ only freed when neither the working copy nor the last 10 published versions use
|
||||
## 14. Releasing and rolling it out
|
||||
|
||||
1. `contracts@1.17.0`, then `accounts@1.7.0` (the profile's brand style), then `events@3.7.0`.
|
||||
2. Hub `v2.13.0` (vendored contracts 1.17.0) deployed.
|
||||
2. Hub `v2.21.0` (vendored contracts 1.17.0) deployed.
|
||||
3. `website@1.0.0` tagged after the e2e, Lighthouse and VM runs.
|
||||
4. **Hope Family Church:** Accounts 1.7.0 and Events 3.7.0 first, then New install → Website. The
|
||||
site shows Coming soon while the church builds it, and goes live with its first publish.
|
||||
@@ -393,7 +447,7 @@ Proposed and confirmed on 2026-11-21 (12 changed):
|
||||
|
||||
## Still open
|
||||
|
||||
- The 8 font pairings and the exact variants per template: settled with the template designs, early
|
||||
in the build.
|
||||
- The 8 font pairings: **proposed** 2026-11-24 in §3 ("Font pairings"), waiting on Joshua.
|
||||
- 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
|
||||
them from the Website. Decide with the App plan.
|
||||
|
||||
Reference in New Issue
Block a user