From 42a460e1653a148892cc3ea7648acb648278db11 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 19:32:45 +0700 Subject: [PATCH] Add origin-aware press feedback and refine a few motion details - 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. --- src/App.jsx | 102 +++++++++++++++++++++++++--------------- src/InterestOverlap.jsx | 3 +- src/styles.css | 18 ++++++- 3 files changed, 83 insertions(+), 40 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 9a661a0..478ac41 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -7,7 +7,7 @@ import { OverlayScrollbars } from 'overlayscrollbars'; import gsap from 'gsap'; import { ScrollTrigger } from 'gsap/ScrollTrigger'; gsap.registerPlugin(ScrollTrigger); -import { ArrowDown, ArrowUpRight, X } from 'lucide-react'; +import { ArrowDown, ArrowUp, ArrowUpRight, X } from 'lucide-react'; const linkedin = 'https://www.linkedin.com/in/varellio-louis-tinangon-4172702a0/'; const socials = [ @@ -53,9 +53,9 @@ const momentColumns = [ function Marquee() { return ; } -function PhotoTiles({ seed = 0, className = '' }) { - return