Epic: neighborhood photos as subtle backdrops and parallax
Back to our planCurrent decision (owner, 2026-11-16, Claude session, voice then text): a backdrop runs behind the whole page, faded, with the theme's background color solid behind dense text; crops are deliberate per screen size. This replaces "decorative bands only" and the look described under "Proposed approach" below. The photo checks (location data, house numbers, people) and the limits on speed, contrast and motion still hold. Work: #1268 (build), #1269 (the rule), #1262 (which photo goes with which article).
In plain words: Amine shared 11 photos of the neighborhood (the park shelter, tree-lined streets in fall colour, paths, the playground). He wants them used as a quiet backdrop, not the main thing: faint, grayed-out textures and a little parallax in the page's surroundings. (Owner's request, 2026-11-03, Claude Code session, with the photos attached.)
Proposed approach (a recommendation, to look at before it ships):
- Where: decorative bands only, never behind body text: the home hero edge, the footer band, the call-to-action band, and empty-state and section dividers. Content cards stay solid.
- Look: each photo desaturated, softly blurred, at 6 to 12 percent over the theme's background and surface tokens, so it works in light and dark (a different overlay token per mode, checked against WCAG AA). No raw colours.
- Motion: a slow parallax drift (a transform tied to scroll), off for visitors who prefer reduced motion, and off on small phones; no fixed-attachment backgrounds (they break on iOS).
- Plumbing (native first): photos live in Payload's media library and render through the kit's
Mediacomponent with next/image (AVIF/WebP, small sizes, lazy except above the fold), as decorative images (empty alt). One kit component for the backdrop, with its test, axe check, gallery entry and component-set row. No new package.
Before any photo goes on the site:
- Strip EXIF (iPhone photos carry GPS location).
- Three photos show readable house numbers on mailboxes (426, 422, 749) and one shows a person walking on a path: crop or blur those, or leave them out. The site is public.
- Check that the photos are the owner's own (they appear to be) and credit them in the media library.
Acceptance criteria
- A mock of two or three placements (home, footer, an article page) in light and dark at the six widths, for the owner to look at before it ships
- Page weight and Core Web Vitals not worse (LCP under 2.5s on a phone)
- Text contrast stays AA over every backdrop in both modes
- Reduced-motion visitors see no movement
Needs grooming: split into sub-issues (backdrop component, photo prep, placements) and size them before work starts.
Generated by Claude Code, opens in a new tab
Issues in this epic
#1262 · Closed Nov 19
#1268
#1269 · Closed Nov 16
#1278 · Closed Nov 16