// Hero — dark navy, big logo card, gold pull-quote, multi-color title const { useState, useEffect, useRef } = React; function Hero({ t, onPlay, playing }) { const [visibleMsgs, setVisibleMsgs] = useState(0); useEffect(() => { setVisibleMsgs(0); const timers = []; t.hero.convo.forEach((_, i) => { timers.push(setTimeout(() => setVisibleMsgs(v => Math.max(v, i + 1)), 700 + i * 900)); }); return () => timers.forEach(clearTimeout); }, [t]); const today = new Date().toLocaleDateString('en-IN', { weekday: 'long', day: 'numeric', month: 'long', year: 'numeric' }); return (
Vol. 01 · Ed. 2026 {t.hero.kicker} {today}
IDNA EdTech

{t.hero.quote}

{t.hero.title_pre} {t.hero.title_em} {t.hero.title_post}

{t.hero.sub}

{t.hero.cta} {t.hero.note}
Live session Class 9 · Mathematics
{t.hero.convo.slice(0, visibleMsgs).map((m, i) => (
{m.who === 'child' ? 'आ' : 'I'}
{m.text}
))}
{Array.from({ length: 14 }).map((_, i) => )}
); } window.Hero = Hero;