Issue 439
enhancement: FormPage and the compact PageHeader for account pages
Back to our planDone
enhancementfrontendstylingpriority: medium
Problem
Seven account and confirmation pages each build the same narrow page by hand: log in, sign up, forgot password, reset password, verify account, confirm email and account. Each has a centred column of max-w-md (or lg), an h1 in text-3xl, a lead paragraph with mb-8, then the form or the message. On two of them the header spacing switches between mb-2 and mb-6.
Goal
PageHeadergets itscompactvariant, as specified indocs/ui/component-set.md: the title and description at form-page size, with no container of its own.- New
FormPageinsrc/platform/ui/: the narrow page that holds one form or one message.widthismdorlg, andaligniscenter(vertically, the default) ortop(the account page).
All seven pages use both.
Acceptance criteria
- Not done: Both are built, with tests and axe.
- Not done: The seven pages use them, and none builds its own column or header.
- Not done: Visual QA at 6 widths in light and dark, against main.
Generated by Claude Code, opens in a new tab