Repository navigation
Add origin-aware press feedback and a few motion refinements - #82
Merged
Merged
Conversation
- Buttons, the LinkedIn text links, and the project-dialog close button now get a brief press ripple that originates from the exact pointer (or, for keyboard activation, element-centre) contact point, plus a quick squash-then-overshoot settle. Pure CSS/JS, gated behind prefers-reduced-motion, and scoped to a handful of primary CTAs rather than every interactive element. - The 'Areas of interest' icon toggle now expands with a staggered, spring-overshoot easing and a slight alternating vertical offset (a gentle arc) instead of a uniform straight-line slide. - The footer's 'Back to top' link gets its own distinct arrow-bounce flourish on hover/focus, giving the page's closing interaction a memorable, one-off treatment rather than reusing the standard link style. All additions live inside the existing '@media (prefers-reduced-motion: no-preference)' enhancement layers already used throughout styles.css, so reduced-motion users see no behavioural change. No GSAP/ScrollTrigger/Lenis logic, layout, or copy was touched.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
What this does
Reviewed docs/03-design.md (motion/accessibility contract) against the animation-and-UX-law checklist shared in the conversation, and implemented the gaps that were safe to add without touching the existing GSAP/ScrollTrigger/Lenis scroll choreography, layout, or any copy.
Everything lives inside the existing @media (prefers-reduced-motion: no-preference) enhancement layers already used throughout styles.css, so reduced-motion users see no behavioral change.
Verification
This sandbox has no network access for package installs, and the pre-existing node_modules here is incomplete (no vite, eslint missing a subpackage), so I could not run npm run lint, npm run build, or npm test locally. I did validate both changed JSX files and the full CSS file parse/transform cleanly with esbuild, and manually re-read the full diff to confirm no interaction with the pinned-scroll or Lenis logic. Please let CI run the full check suite on this PR before merging.
Generated by Claude Code