// FloatingButtons + Footer function FloatingButtons() { const [showTop, setShowTop] = useState(false); useEffect(() => { const onScroll = () => setShowTop(window.scrollY > 500); window.addEventListener('scroll', onScroll); return () => window.removeEventListener('scroll', onScroll); }, []); return (
); } function Footer({ onNav }) { const navLinks = [ { id: 'inicio', label: 'Inicio' }, { id: 'portafolio', label: 'Portafolio' }, { id: 'estilos', label: 'Estilos' }, { id: 'tienda', label: 'Tienda' }, { id: 'sobre-mi', label: 'Sobre mí' }, { id: 'contacto', label: 'Contacto' }, ]; const socials = [ { label: 'Instagram', href: IG_URL }, { label: 'TikTok', href: TT_URL }, { label: 'WhatsApp', href: waLink('Hola Edwin') }, { label: 'Ubicación', href: MAP_URL }, ]; const linkStyle = { color: 'var(--white)', fontFamily: 'var(--font-accent)', fontSize: 13, letterSpacing: '0.25em', textTransform: 'uppercase', transition: 'color 0.2s', }; return ( ); } window.FloatingButtons = FloatingButtons; window.Footer = Footer;