Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Ducksss
added a commit
that referenced
this pull request
Jul 27, 2026
…eroes (#358) * feat(templates): motion on the gallery and detail surfaces The /templates gallery and detail pages were the only static surfaces left in the template showcase — all the motion lived inside the previews. This brings motion.dev to the two pages visitors actually land on first, functionally. Gallery: - Category filtering is now layout-animated. TemplateGalleryFilter owns which cards are mounted (the page still builds them on the server and hands them over as rendered elements, so every concept ships in the initial HTML and the showcase registry stays out of the client bundle). AnimatePresence with mode="popLayout" pulls exiting cards out of flow, survivors glide to their new grid slots via layout="position", and arrivals fade in — the visitor sees what changed instead of a snap. - Staggered first-paint entrance: 45ms apart on a near-critically-damped spring, whole set settled in ~500ms. - Springed poster hover lift, gated on (hover: hover) and (pointer: fine). - A role="status" result count announces the reflow. Detail: - Below-fold section content rises once via the new TemplateReveal. The hero, the live preview, and the concept disclosure never animate. - Recipe rows swap their ordinal for an outbound arrow on hover and keyboard focus, reinforcing that every chip resolves to a real installable block. - Palette swatches deal themselves in. Contracts held: the gallery still mounts zero iframes and the detail page one; transform/opacity only; reduced motion zeroes every transition and template-surface-motion.css pins the finished frame pre-hydration; SSR and client render the same tree (the transition is branched, never the JSX). The first-paint gallery entrance is deliberately transform-only — the cards carry a filled primary CTA and axe scans mid-animation, so an opacity fade there would alpha-composite that button toward the page background and fail AA transiently. Co-Authored-By: Claude Opus 5 <[email protected]> * feat(templates): vary inner-page heroes across the six concepts Three of the six concepts get one motivated inner-page hero each; the other three keep hero-basic throughout on purpose. Co-Authored-By: Claude Opus 5 <[email protected]> * chore(templates): recapture affected posters + re-mint darwin baselines Co-Authored-By: Claude Opus 5 <[email protected]> * test(chore): mint Linux visual baselines (templates-visual) (#359) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Ducksss
deleted the
visual-baselines/templates-gallery-motion-30243964402
branch
August 3, 2026 08:49
This branch was successfully 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.
Auto-generated by the
visual-baselinesworkflow. Commits the per-platformtemplates-visualsnapshot baselines so the visual-regression suite compares (instead of skipping) on the CI gate.