A trust strip band uses less padding, the full-width hero less padding, and the landing-page form tighter gaps with the consent in small text. Controls keep their 44 px height. On the INS page at 1920x1080 the trust strip now ends at 937 px instead of 1077 px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
27 lines
1.2 KiB
Markdown
27 lines
1.2 KiB
Markdown
# Tasks
|
||
|
||
## 1. Portal
|
||
|
||
- [x] 1.1 `CmsBlocks.tsx`:
|
||
- a TRUST band uses `py-5`; other bands keep `py-12`;
|
||
- the full-width hero grid uses `pt-8 pb-8`;
|
||
- the hero form card uses `space-y-3`.
|
||
|
||
`RegistrationForm.tsx`, compact only: `space-y-3` between fields, and `text-sm` in the consent box.
|
||
|
||
Verify: render tests fail first, then pass; vitest exit 0, tsc and lint clean.
|
||
|
||
## 2. Verification
|
||
|
||
- [x] 2.1 Use Playwright on port 3001 to measure `/p/INS/hotel-technology` at 1920×1080: the trust strip's bottom is at most 950 px, and the controls are at least 44 px tall. Take screenshots at 1920×1080, 1280×900 and 390 px.
|
||
- [x] 2.2 Run `openspec validate add-hero-fits-screen --strict`.
|
||
|
||
## Notes (2026-12-04)
|
||
|
||
- **Red first:** the new render tests failed on the trust band padding, the hero padding, the card gap, the compact form gap and the consent text size.
|
||
- **Changed existing tests:** none.
|
||
- **Measured** on `/p/INS/hotel-technology` at 1920×1080 with Playwright:
|
||
- before: hero 886 px, trust strip bottom 1077 px;
|
||
- with `pt-10 pb-10`: 953 px, still over the 950 px target, so the hero padding became `pt-8 pb-8`;
|
||
- final: hero 802 px, trust strip bottom 937 px. Every text field, the dropdown and the Register button are 44 px.
|