Files
co-lite/openspec/changes/add-hero-fits-screen/proposal.md
T
ngqileandClaude Opus 5.5 405dab55dd fix(pages): fit the top bar, hero and trust strip on one desktop screen
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
2026-12-04 12:44:55 +08:00

1.7 KiB
Raw Blame History

Proposal

Why

On the INS Hotel technology page (/p/INS/hotel-technology), the top bar, the full-width hero with its sign-up form, and the trust strip together are 1077 px tall. A visitor on a 1080p or 1440p desktop sees the trust strip cut off at the bottom of the first screen. The owner wants the hero and the trust strip to fit on one desktop screen. Staff have no way to change the form's size, and the form sets the hero's height.

What Changes

  • Thinner trust strip. A trust strip shown as a coloured band uses less padding above and below (about 20 px instead of 48 px), close to INS's 22 px.
  • Less padding in the full-width hero. It is about 32 px top and bottom, instead of 64 px top and 48 px bottom.
  • Tighter compact form. The landing-page form (the compact form) has smaller gaps between fields, and the consent box uses small text. The fields, the dropdown and the button keep their 44 px height, so they stay easy to tap.
  • Result. The INS page's top bar, hero and trust strip fit within 950 px, which shows them in full on a 1920×1080 desktop browser.

Not changing:

  • QR, invitation and customer forms.
  • Heroes that are not full width, and other band looks.
  • Phones, where the hero stacks the form below the text.
  • Small laptops (768 px tall). There the form alone is taller than the screen, as on INS's own page.

Capabilities

New Capabilities

None.

Modified Capabilities

  • landing-pages: adds "First Screen Fits The Hero And Trust Strip".

Impact

  • Portal only: CmsBlocks.tsx (trust band padding, full-width hero padding, form card gap) and RegistrationForm.tsx (compact spacing and consent text).
  • No server, API or data change. No new labels.