Skip to content

UI/UX: split hero — copy left, interactive 3D coupon right#117

Merged
BSalaeddin merged 5 commits into
devfrom
feat/hero-split-3d
Jul 24, 2026
Merged

UI/UX: split hero — copy left, interactive 3D coupon right#117
BSalaeddin merged 5 commits into
devfrom
feat/hero-split-3d

Conversation

@BSalaeddin

Copy link
Copy Markdown
Collaborator

Third welcome variant for comparison, per owner direction. Original hero copy left-aligned (all elements/links/e2e contract preserved); compact interactive 3D coupon ticket right, reusing the CouponVault ticket geometry via a new shared couponTicket3d module (one three chunk, zero duplication).

Perf posture: canvas mounts only when idle (rIC w/ 1.5s timeout) + WebGL probe + desktop (lg+) — phones never mount WebGL; dpr [1,1.5]; frameloop pauses offscreen; CSS ticket poster + cross-fade, zero CLS. CouponVaultSection behavior unchanged.

Verified locally: light/dark desktop (canvas mounts, interactive tilt), 390px mobile (no hero canvas, original centered column), all gates green. Known pre-existing reds: cart-classifier eval (OPENROUTER_API_KEY secret missing) + dependency audit (OSV advisories since 7/16).

🤖 Generated with Claude Code

https://claude.ai/code/session_016nsLZEDtY38Phga5tzz8F4

…ht (idle-mounted, desktop-only, shared ticket module)
…n, CSS spinner in providers, lazy-boundary test (-375KB home)
…logos, unoptimized hero wordmark, right-size 415/298/139KB PNGs to <10KB
…WebGL) + honest 15s nav URL timeouts — kills the nav flake class
@BSalaeddin
BSalaeddin merged commit 7204117 into dev Jul 24, 2026
15 of 17 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