Skip to content

fix(web): stop hero explainer link colliding with CTA buttons - #904

Merged
jiashuoz merged 1 commit into
mainfrom
fix/web-hero-cta-row
Aug 16, 2026
Merged

fix(web): stop hero explainer link colliding with CTA buttons#904
jiashuoz merged 1 commit into
mainfrom
fix/web-hero-cta-row

Conversation

@jiashuoz

Copy link
Copy Markdown
Member

Summary

On the marketing landing page, the hero's "What is email infrastructure for AI agents?" explainer link rendered on the same line as the "Get started free" button, jammed up against it. Both the link and the CTA button row were inline-flex (inline-level), so they flowed side by side instead of stacking. This makes the CTA rows block-level flex containers (justify-center keeps them centered) in both places the pattern appears — the hero and the closing CTA section, the latter being the same latent issue that just hadn't collided yet.

Web-only visual fix; no API or client surface touched.

Operational risk

None — static marketing page markup only.

Test plan

  • New structural regression test in web/src/app/page.test.tsx: both CTA rows must be flex and not inline-flex; verified it fails with the bug reintroduced and passes with the fix
  • Full landing-page Jest suite passes (25/25)
  • Verified visually against the local dev server — link now stacks centered above the buttons

🤖 Generated with Claude Code

The CTA button rows on the landing page were inline-flex, so in the
hero the "What is email infrastructure for AI agents?" link (itself
inline) flowed onto the same line and sat jammed against "Get started
free" instead of stacking above it. Make both CTA rows block-level
flex containers (justify-center keeps them centered) and add a
structural regression test.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jiashuoz
jiashuoz merged commit 387a287 into main Aug 16, 2026
32 checks passed
@jiashuoz
jiashuoz deleted the fix/web-hero-cta-row branch August 16, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant