Repository navigation
feat(marketing): the hero's self-playing opening scene (#1255) - #1268
Merged
Merged
Conversation
Contributor
|
The marketing preview was removed because this PR is closed or merged. |
athvin
marked this pull request as ready for review
November 26, 2026 19:43
Three versions of Meridian Supply (Salesforce, a CSV upload, the API) settle in, clean up until their names are identical, line up on that evidence and collapse into one golden record that keeps all three behind it, then hold. CSS on a server component, under five seconds; ScenePlayback is the only island (replay, and hold until first seen when the scene is below a short phone's first screen). Reduced motion shows the payoff. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The hero now shows its opening scene's payoff (reduced motion) on all three projects, and on phones the scene sits after the foot, which moves every section below it: the stitched mobile captures of the story sections shift by up to a pixel and are regenerated with it. Regenerated in the pinned playwright:v1.63.0-jammy image with make frontend-baselines; an unrelated app baseline (reviews, mobile-chrome) that came back 2 bytes different was left as it was. Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
force-pushed
the
issue/1255-marketing-hero-scene
branch
from
November 26, 2026 19:47
203e85f to
2a09871
Compare
athvin
temporarily deployed
to
marketing-preview
November 26, 2026 19:52 — with
GitHub Actions
Inactive
This was referenced Nov 26, 2026
This branch was previously deployed
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.
Closes #1255
What
The home hero gets a self-playing opening scene (#1253's "trailer" shot).
ScenePlaybackis the only island: Replay, plus holding the scene until it is first seen when it sits below a short phone's first screen.Why
The owner chose a self-playing opening scene (2026-11-26). The quiet hero said "entity resolution" without showing it, and this shows the whole product in five seconds, using the same company every later scene follows.
Proof
eslint .,prettier --check .,tsc --noEmitandnext buildare green;/is still○.marketing-scenes+marketing+marketing-interactionson all three projects: 130 passed, 2 skipped. That includes the flow ports within 1px, the five bridges, the next links at 64±3px, no snap, no touch interception, the audit, reduced motion and no-JS.desktop-chromium,mobile-chromeandmobile-safari.Expected: <= 5000, Received: 5620.Received + 19animations.make skills-checkis green.make frontend-baselinesran inplaywright:v1.63.0-jammy.Risk & rollback
git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:30a1182e-8c7e-47e3-92ac-cda64c13fcfconbrians-MacBook-Pro· 2026-11-26T20:01:02Zmainis green with this change on it — the merge SHA, and the runthat proves it. A later head SHA with this commit as an ancestor counts;
a cancelled run with zero jobs does not: merge
e5cde9fd; on that SHArust45886859762,frontend45886859787,images45886859887,marketing preview45886859766,infra45886859872 anddevcontainer45886859809 allsuccess.imagesbuilt, or correctly never ran because nothing that goes intoan image changed:
images45886859887successone5cde9fd.deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion:
deploy45887100993 resolveder-web: e5cde9fd… -> sha256:401eb136…. The liveweb-api-green-dccb4c887-nvtwh(started 19:55:26Z) runser-web@sha256:401eb136…,ready=true, and logged▲ Next.js 16.4.6/✓ Ready. From inside that pod,GET /returns markup withdata-testid="hero-scene".deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change:
deploygreen (above).driftandkind's nightly leg are red on every scheduled run since before this change (drift45765434785…,kindsince 2026-11-10, kind probe red since 2026-11-10: KeyError 'token_hash' after the credential-omission fix #1106). This diff touches onlyfrontend/and.claude/, which neither exercises.Donethrough the automation rather than byhand, and the issue closed: Home hero: a self-playing opening scene where three Meridian records collapse into one #1255
CLOSED/COMPLETED, closerPullRequest #1268; cardStatus: Done.(a skill, a reference, memory) — or nothing new was learned: the minifier's silent drop of a
min(…cqw)translate is documented at its fix inhero-scene.css, and the hero's placement and playback rules are in thelanding-pageskill. feat(marketing): the home #dedupe set piece, pinned and scrubbed by scroll (#1256) #1269 adds both to the skill's Scenes rules.Specific to this change
Context — plan, discoveries, measurements, files
Plan
hero-scene.tsx+hero-scene.css: the payoff is the base style; motion only underno-preferencescene-playback.tsx: Replay, and play-on-first-view for a scene below the first screenlanding-pageskill updatedDiscoveries
translate: calc(-1 * min(132px, 32cqw) - 14px) -50%. The declaration was simply absent from the built stylesheet, so the evidence line sat in the middle of the cards. Routing it throughvar()kept it. Recorded inhero-scene.css.ScenePlaybackholds the animation until the scene is seen.reviews-mobile-chrome) came back 2 bytes different and was left alone.Measurements
endTimeis 4,820ms, plus a 320ms roll delay inside the same span, so the whole scene finishes within 4.92s.Files
frontend/src/components/marketing/scene/{hero-scene.tsx,hero-scene.css,scene-playback.tsx,scene.css}frontend/src/components/marketing/hero.tsxfrontend/tests/functional/marketing-scenes.spec.tsfrontend/tests/functional/*-snapshots/marketing-*.png: the hero and the shifted mobile sections.claude/skills/landing-page/SKILL.md