'use client'; import { motion, useScroll, useSpring } from 'framer-motion'; import { usePrefersReducedMotion } from '@/lib/motion'; // Reading progress along the bottom edge of the header. Pure motion feedback: // under reduced motion it renders nothing at all, because a static progress // bar communicates nothing — unlike an illustration, there is no meaningful // still frame of it. export function ProgresoLectura({ className = '' }: { className?: string }) { const reduced = usePrefersReducedMotion(); const { scrollYProgress } = useScroll(); const avance = useSpring(scrollYProgress, { stiffness: 120, damping: 30, restDelta: 0.001 }); if (reduced) return null; return (