Reduce movement

This commit is contained in:
Justin Edmund 2025-06-10 01:56:35 -07:00
parent 54068f8cdb
commit 152a7d58e1

View file

@ -92,8 +92,8 @@
// Logo slides in the same direction as the tilt
// When tilting down (mouse at bottom), logo slides down
// When tilting up (mouse at top), logo slides up
const logoX = -rotateY * 3 // Same direction as tilt
const logoY = rotateX * 3 // Same direction as tilt
const logoX = -rotateY * 1.25 // Same direction as tilt
const logoY = rotateX * 1.25 // Same direction as tilt
logoTransform = `translate(${logoX}px, ${logoY}px)`
}