// Hero section — full viewport, video bg, navbar, headline, CTAs, stats, partners const { motion: heroMotion } = window.Motion; const HERO_VIDEO = "https://d8j0ntlcm91z4.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/hf_20260418_080021_d598092b-c4c2-4e53-8e46-94cf9064cd50.mp4"; const heroAnim = (delay) => ({ initial: { filter: 'blur(10px)', opacity: 0, y: 20 }, animate: { filter: 'blur(0px)', opacity: 1, y: 0 }, transition: { duration: 0.8, ease: 'easeOut', delay }, }); function HeroNav() { const [mobileOpen, setMobileOpen] = React.useState(false); const navLinks = [ { label: 'Inicio', href: '#inicio' }, { label: 'La App', href: 'app.html' }, { label: 'Wearable', href: 'wuclock-band.html' }, { label: 'Blog', href: 'blog/index.html' }, { label: 'Método', href: '#metodo' }, ]; // Close menu when clicking outside (escape too) React.useEffect(() => { if (!mobileOpen) return; const onEsc = (e) => { if (e.key === 'Escape') setMobileOpen(false); }; window.addEventListener('keydown', onEsc); return () => window.removeEventListener('keydown', onEsc); }, [mobileOpen]); return ( ); } function HeroBadge() { return (
Nuevo La app de bienestar hecha en Latinoamérica
); } function HeroStat({ icon, value, label, delay }) { return (
{icon}
{value}
{label}
); } function HeroPartners() { const names = ['Samsung', 'Fitbit', 'Apple Watch', 'Xiaomi', 'Garmin']; return (
Compatible con los principales wearables del mercado
{names.map((n) => ( {n} ))}
); } function Hero() { return (
{/* Background video, 120% scale, top-aligned */} {/* Foreground */}
{/* Centered content */}
Entendé por qué te sentís como te sentís — y qué hacer al respecto. En 8 minutos. Cada mañana. Ver cómo funciona
{/* Override leading + tracking for the BlurText headline */}
); } Object.assign(window, { Hero, HeroNav });