You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[codex] simplify landing page DOM structure (#1272)
* refactor: simplify landing page DOM structure
Simplify the landing page markup by removing single-child wrappers and moving layout classes onto the surviving elements where needed.
Add responsive visual snapshots for the major landing page sections at desktop, tablet, and mobile widths so the refactor has a stable regression baseline.
* test: scope landing page snapshots to section roots
Render the full landing page in browser tests and target section roots by data-testid instead of route helper exports.
Refresh the existing landing page snapshots and increase the mobile viewport height so tall sections capture without extra white space.
* test: isolate landing page snapshot captures
Clone selected landing page sections into a top-level sandbox before screenshotting so Vitest captures the component instead of page scroll context.
Refresh the landing page snapshots and add the page-level getByTestId binding used by the new harness.
* test: load hljs in vitest setup
Mirror the landing page highlight.js registration in browser tests.
Add regression coverage for highlighted playground code in the live render and sandboxed snapshot copy.
* test: fix landing page snapshot capture
Render selected landing sections inside a normal test wrapper before capturing screenshots.
Refresh the affected landing-page screenshots so the playground hero retains syntax highlighting in the stored baselines.
0 commit comments