themes-corporate-modernist/docs/adr/0004-the-centred-hero-centres-its-buttons.md
Alex Dunmow 88fd049329 fix: website factory launch run defects (0.6.5)
Footer contact details, eyebrow alignment, long headlines, scrims and
grid rows found by the WO-101 render pass; see docs/adr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:35:04 +08:00

1.3 KiB

The centred hero centres its buttons

Decided 2026-11-22 for corporate-modernist 0.6.5, from the website factory's launch runs (orchestrator WO-101, ADR 0092).

Context

The website factory now builds a hero that has no photo as the centred hero (orchestrator ADR 0092); it used the left-aligned one, which kept the text to 60 characters at the left and left the right half of the hero empty (Sentinel Lynx). The first rebuilt site showed the centred hero's buttons still at the left under centred text.

Decision

  • The centred hero (every variant but left-aligned, and split without a photo) carries cm-hero--center, which centres its button row and trust logo row with its text. Both rows set their flex layout inline, so the class only adds justify-content: center.

Consequences

  • corporate-modernist 0.6.5 is published to the dev registry; the orchestrator's internal/factory/themes.yaml pins it.
  • No schema field changes. Production sites on this theme pick the change up with the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.6.5 (orchestrator docs/works/evidence/WO-101/theme-regression/).

Keywords: hero, centered, cm-hero--center, cm-btn-row, cm-logo-row, justify-content, WO-101, website factory, launch runs, corporate-modernist