Repository navigation
feat(landing): scroll-reveal + hero entrance motion - #585
Merged
Merged
Conversation
…out) Adds calm, on-brand motion to /v2/landing per the revised retention plan: - Hero entrance: pure-CSS staggered rise (520ms ease-out, once), gated by prefers-reduced-motion. - Scroll-reveal: IntersectionObserver adds .is-revealed to 18 [data-reveal] targets (section heads reveal as blocks; grids stagger children ≤5 steps at 80ms). - Safety model: the hidden pre-reveal state exists only under .v2-landing--motion, added by JS after confirming IntersectionObserver exists AND the visitor hasn't asked for reduced motion — no-JS, old browsers, and reduced-motion get a fully visible page. Verified in-browser: all 18 targets reveal on scroll, none stay hidden. - Spec: the design-system README's "no entrance animations" rule was written for app chrome; this PR amends it with an explicit marketing-surface carve-out (limits: opacity+translateY≤16px, ≤560ms ease-out, once, stagger≤5, reduced-motion respected) rather than silently deviating. App chrome rule unchanged. Frontend suite: 191 green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MnRCAFgjrrGZxo9VRCmCm9
lilyshen0722
added a commit
that referenced
this pull request
Jul 3, 2026
…nts (#586) Live verification of #585 on commonly.me caught 4 permanently-hidden reveal targets (proof-inner, pricing head, CTA title/sub) that the local stub never reproduced: when /api/stats/public resolves, the conditionally-rendered stats block shifts <main>'s child list and React remounts every section after it (index-based reconciliation) — fresh DOM nodes the already-armed observer never saw, stuck at opacity 0. The observer effect now depends on `stats` and re-queries un-revealed [data-reveal] nodes when it lands. Reproduced the live condition locally (stub returning real stats): 18/18 reveal, 0 hidden. Claude-Session: https://claude.ai/code/session_01MnRCAFgjrrGZxo9VRCmCm9 Co-authored-by: Claude Fable 5 <[email protected]>
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The landing-page motion pass from the revised retention plan. CSS-first, no animation library, on-brand calm.
prefers-reduced-motion-gated via media query).[data-reveal]targets as they enter the viewport — section heads as blocks, grids (shots/steps/cards/usecases/tiles/tiers/open-grid) with per-child stagger capped at 5 steps..v2-landing--motion, which JS adds after confirming IntersectionObserver support AND that the visitor hasn't requested reduced motion. No JS / old browser / reduced-motion → fully visible page, zero hidden content.Browser-verified (MCP Playwright, real Chromium): motion class arms, hero
v2-landing-riseanimation fires, 0 reveals pre-scroll (hero fills viewport), 18/18 reveal during scroll, no element left at opacity 0 at page bottom.Frontend suite: 191 green.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MnRCAFgjrrGZxo9VRCmCm9