feat: Faded photo backdrop for a page, first on Get Involved
Back to our planProblem
In plain words: a page can't have a faint neighborhood photo behind its content. The Get Involved page is plain, and the owner wants a grayed-out, faded photo as its backdrop, with text that stays easy to read.
Owner's decision (2026-11-06, Claude in Chrome side panel, text): the photo sits behind the whole page as a quiet, faded backdrop. It is never a framed image between the title and the content, and the aerial photo already used on Home is not used. Text stays readable in both themes: dark text on the light theme, bright text on the dark theme. He supplied his own drone photo of the neighborhood for it. This goes slightly beyond the epic's "bands only, never behind body text"; the tint below is what keeps text readable, and the epic's placement rule is updated to match.
Proposed fix
Part of the epic #619 (the backdrop component and the first placement).
- A shared kit component
PageBackdropinsrc/platform/ui/: wraps a page's content; draws the photo as a decorative layer (empty alt) behind it, desaturated and faded, under a tint made from the theme's own background token so it works in light and dark. No raw colors. - A CMS field
backdropon Pages (an optional upload from the media library), so an editor chooses the photo per page. Mapped to plain props in the site module; the page route wraps its content in the component when the field is set. - The photo: the owner's drone photo, resized to 1920 px, metadata removed, added to the media library with credit and a decorative alt.
- First page: Get Involved. Also set as that page's share image, so it shows on its link preview.
Native-first check (recorded per the ladder): (1) Payload's upload field and the existing media library do the storage and image sizes; Next's next/image does the rendering through the kit's Media. (2) No official plugin does a decorative page backdrop. (3) No package needed. (4) Our own code is only the small kit component and the field, which are specific to this site.
Files likely touched: src/platform/ui/PageBackdrop.tsx (+ test, index, gallery entry), docs/ui/component-set.md, src/modules/site/cms/pages.ts (+ test), src/modules/site/data/mappers.ts, src/modules/site/use-cases/getPageBySlug.ts, src/app/(frontend)/[slug]/page.tsx, a migration, src/payload-types.ts, docs/reference/ (generated), public/images/ (one photo).
Must not touch: docs/guidelines/ (policy files), the theme tokens, the call-to-action band (a separate change).
Acceptance criteria
- Not done: A page with a backdrop shows the photo faded and grayed behind its content, with no image between the title and the content, and nothing changes on pages without one.
- Not done: Text is at least AA contrast over the backdrop in light and dark, including muted text (a test and screenshots show it).
- Not done: Screenshots at 320, 430, 768, 1024, 1280 and 1920 px in light and dark, with no horizontal scroll and no layout shift.
- Not done: The photo is level, has no hidden location data, is credited, and shows on the page's link preview; page weight and LCP are not worse.
- Not done: The component has its test, axe check, gallery entry and row in
docs/ui/component-set.md; the generated reference is current. - Not done: Reduced motion: the backdrop has no motion.
Area
frontend, cms, styling
Priority
priority: medium
Generated by Claude Code, opens in a new tab