mirror of
https://github.com/Such-Software/such.software.git
synced 2026-10-17 05:32:05 +02:00
Splash logo: drop framer wrapper + CSS filter (cleaner LCP); nudge tracer
- Logo is a plain <img fetchPriority=high> in a plain div (no framer-motion, no drop-shadow filter) so it is a clean, statically-painted LCP candidate. Water filter + a CSS zoom apply only on enter. - Tracer target nudged to computerX/Y +1.5 (between the low-right +2.5 and the high-left +0.5).
This commit is contained in:
@@ -95,8 +95,8 @@ export const NebulaField = ({ className, density = 8, themeMode = 'dark', positi
|
||||
// Aim the streamers at the monitor's screen. +2.5 hit low-and-right; -1/-1.5 hit
|
||||
// high-and-left, so this is the midpoint. Tweak these two offsets to move the
|
||||
// convergence point.
|
||||
const targetX = computerX + 0.5;
|
||||
const targetY = computerY + 0.5;
|
||||
const targetX = computerX + 1.5;
|
||||
const targetY = computerY + 1.5;
|
||||
|
||||
// Check for reduced motion preference
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user