feat: Full-page photo backdrop with a text scrim, replacing the title strip
Back to our planProblem
In plain words: today a post or an event can show a photo only as a strip behind its title, and a page shows one only near its top. The owner wants one consistent backdrop instead: a neighborhood photo behind the whole page, with the text always easy to read.
Decisions (owner, 2026-11-16, Claude session, voice and text; agreed on a mockup)
- Whole page, in color. The photo runs behind the page top to bottom, in full color. The title strip goes.
- Scrim follows the text. The page color is solid behind text and nearly clear where there is none, so the photo is plainly visible in empty areas: behind the title, in the empty part of the page rail, before the footer.
- Parallax. The photo drifts slowly as the page scrolls; none for visitors who ask for reduced motion.
- The title stays readable by a wide, soft glow in the page color, spread wide and faint, never a tight halo.
- A crop per screen size, at least phone, tablet and desktop, chosen to work with the layout.
- Anything sitting on the photo uses the shared frosted-glass panel (#1278), starting with the "Get Involved" card in the page rail when the page has a backdrop.
- Contrast is guaranteed: text never sits straight on the photo.
- Standing rule:
docs/guidelines/images.md, rule 14 (#1269).
Mockup: https://claude.ai/artifact/TwCzUm1pUV8ciwmAkDp7mV, opens in a new tab (private to the owner). Its files are kept with the session that made it; the steps so far are in the comments below.
What exists (use before adding):
PageBackdrop(#777): a page's photo, faded, top part only, with text colors adjusted for contrast.BandBackdrop(#1024): the title strip on posts and events, with three crops an editor picks. Keep the crop fields; the strip goes.GlassPanel(#1278) and the tighter title and breadcrumb spacing (#1279): both land first.- Follow-ups to the page backdrop: #794.
Proposed fix
- One shared backdrop component for pages, posts and events, grown from
PageBackdrop: the photo behind the whole page, the scrim from theme tokens, the crops from the existing fields, a small client part for the parallax. - A shared way for a block of text to sit solid on the backdrop with a soft edge, used by the article column, the page rail's menu and the breadcrumb.
SidebarCTArenders throughGlassPanelwhen the page has a backdrop.- Retire the title strip and
BandBackdroponce posts and events use the new backdrop.
Acceptance criteria
- Not done: On a page, a post and an event with a backdrop, the photo runs behind the whole page in color, and text, buttons and cards measure AA contrast in light and dark, with the numbers in the pull request.
- Not done: An editor sets a crop per screen size in the CMS, at least phone, tablet and desktop; a size with none falls back sensibly; existing content keeps working without a migration, or with one that is tested.
- Not done: Parallax runs smoothly on a phone and is off with reduced motion; no layout shift.
- Not done: A phone's largest paint is no slower than today (measured, in the pull request).
- Not done: A page, post or event with no backdrop looks as it does today.
- Not done: Checked at the six test widths in light and dark, against the mockup.
- Not done: The notes, the component set,
docs/guidelines/ui-ux-design.mdand the pattern library describe the new behavior in the same pull request.
Files likely touched
src/platform/ui/PageBackdrop.tsx, src/platform/ui/BandBackdrop.tsx, src/platform/ui/PageHeader.tsx, src/platform/ui/SidebarCTA.tsx, src/platform/ui/ArticlePage.tsx, src/platform/payload/bandBackdrop.ts, src/modules/news/, src/modules/events/, src/modules/site/, src/platform/theme/, src/app/(frontend)/, docs/ui/component-set.md, docs/guidelines/ui-ux-design.md, docs/guidelines/frontend-patterns/, docs/reference/, .claude/rules/generated/, e2e/
Must not touch
None
Size: L. Blocked by: #1278, #1279. Open questions: none.
Generated by Claude Code, opens in a new tab