Issue 430
enhancement: PageHeader, the shared list-page header
Back to our planDone
enhancementfrontendstylingpriority: high
Problem
Seven list pages each build their own page header by hand: news, a news page, events, an events list page, resources, FAQ and search. Each one repeats the eyebrow, the title, the lead paragraph and the spacing, and the copies have drifted: mb-12 versus md:mb-16, a title with or without text-balance, and different description spacing (D5).
Goal
Add PageHeader to src/platform/ui/ as specified in docs/ui/component-set.md:
eyebrow(text or aBadge)title(the page'sh1)descriptionbackLinkchildrenfor a control under the title, such as the search box
Use it on the seven list pages. The image variant (PostHero / EventHero, D7) and facts come with MetaList in a later PR. It needs plain props for heroes (0013).
Acceptance criteria
- Not done:
PageHeaderis built, with tests and axe. - Not done: The seven list pages use it, and none of them builds its own header.
- Not done: Visual QA at 6 widths in light and dark, before and after. The only differences are the drift fixed on purpose.
Generated by Claude Code, opens in a new tab