Skip to content

Add origin-aware press feedback and a few motion refinements - #82

Merged
Reliaaaa merged 1 commit into
mainfrom
feat/motion-ux-principles
Nov 29, 2026
Merged

Reliaaaa merged 1 commit into
mainfrom
feat/motion-ux-principles

Conversation

@Reliaaaa

Copy link
Copy Markdown
Owner

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.

  • Origin-aware press feedback (.button, .text-link, .underlined-link, .linkedin-link, the project dialogs close button): a brief ripple now originates from the exact pointer/tap point (keyboard activation uses the elements centre), paired with a quick squash-then-overshoot settle. Implements exaggeration, origin awareness, squash and stretch, anticipation, and keeps feedback effectively instant (well under the Doherty threshold). Scoped to a handful of primary CTAs rather than every link, per frequency of use.
  • Areas of interest icon toggle: switched from a uniform ease-out slide to a staggered, spring-overshoot easing with a small alternating vertical offset - staggering, follow-through, and a gentle arc instead of a straight line.
  • Footer Back to top link: its own distinct arrow-bounce hover/focus flourish, so the pages closing interaction stands out (Von Restorff) and leaves a deliberate last impression (peak-end rule).

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

- 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.
@vercel

vercel Bot commented Nov 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
landingpagereliaaaa Ready Ready Preview Nov 29, 2026 12:33pm UTC

@Reliaaaa
Reliaaaa merged commit cd7a59b into main Nov 29, 2026
3 checks passed
@Reliaaaa
Reliaaaa deleted the feat/motion-ux-principles branch November 29, 2026 12:36
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.

2 participants