Skip to content

Landing hero refinements: stats-as-coupons, inline CTAs, cleaner 3D model, centered loader, drop 2nd section#118

Merged
BSalaeddin merged 1 commit into
devfrom
feat/hero-refinements
Jul 24, 2026
Merged

Landing hero refinements: stats-as-coupons, inline CTAs, cleaner 3D model, centered loader, drop 2nd section#118
BSalaeddin merged 1 commit into
devfrom
feat/hero-refinements

Conversation

@BSalaeddin

Copy link
Copy Markdown
Collaborator

Follow-up refinements to the split hero (per review feedback), all verified locally on a prod build (desktop + mobile) with 19/19 e2e passing and all six gates green.

Changes

  • Removed the second "welcome" section (the #see-it-work coupon vault) and its divider. CouponVaultSection.tsx + CouponVaultScene.tsx deleted; boundary-test allow-list updated.
  • Stats are now 3 coupon-ticket cards (shared ticketNotchMask) at three different sizes, clustered under the 3D model, each counting up from 0 on load (easeOutCubic, reduced-motion safe). The old inline stat row in the left column is removed. Cards stay visible on mobile (only the WebGL box is lg:hidden), so phones keep the stats and still never mount three.
  • Hero CTAs are inline on one row on desktop (reduced padding/text), stacked full-width below md.
  • Cleaner 3D ticket — removed the matte stub rectangle under the perforation that read as a pasted-on panel; the ticket is now clean glass with just the notches + perforation + %.
  • Loader spinner centered full-viewport (min-h-screen; the old h-full collapsed to 0 and pinned it to the top), dependency-free so it never pulls three into first-load JS.

Verification

  • Prod build + next start: nav + home + visual-regression e2e 19/19 pass (--workers=1, cold cache).
  • type-check / knip / lint / oxlint / prettier / unit — all green (incl. the three-lazy-boundary test).
  • Desktop + mobile screenshots confirm inline CTAs, count-up coupon stats, clean model, single hero.

🤖 Generated with Claude Code

…nder the model, inline CTAs, clean-glass ticket (drop stub), centered full-viewport loader, remove 2nd welcome section
@BSalaeddin
BSalaeddin merged commit d7f4a93 into dev Jul 24, 2026
14 of 15 checks passed
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