/* Sections — TOP Nav · Hero · Stats · Pillars · About */ // ───────── NAV ───────── function Nav() { const t = useT(); const { lang, setLang } = useLang(); const [scrolled, setScrolled] = React.useState(false); const [mobileOpen, setMobileOpen] = React.useState(false); React.useEffect(() => { const onScroll = () => setScrolled(window.scrollY > 40); onScroll(); window.addEventListener('scroll', onScroll, { passive: true }); return () => window.removeEventListener('scroll', onScroll); }, []); const links = [ ['#about', t('nav_about')], ['#services', t('nav_services')], ['#academy', t('nav_academy')], ['#team', t('nav_team')], ['#gallery', t('nav_gallery')], ['#contact', t('nav_contact')], ]; return ( GOLDEN HALL {links.map(([href, label]) => ( {label} ))} setLang('es')}>ES / setLang('en')}>EN {t('nav_book')} setMobileOpen((v) => !v)} aria-label="Menu" > {/* mobile drawer */} {links.map(([href, label]) => ( setMobileOpen(false)}>{label} ))} setLang('es')}>ES / setLang('en')}>EN ); } // ───────── HERO ───────── function Hero() { const t = useT(); return ( {/* Foto real del salón como backdrop */} {t('hero_eyebrow')} {t('hero_title_1')}{t('hero_title_em')} {t('hero_sub')} {t('hero_cta_book')} {t('hero_cta_acad')} SCROLL ); } // ───────── STATS ───────── function Stats() { const { lang } = useLang(); return ( {GH_DATA.stats.map((s, i) => ( {s[`label_${lang}`]} ))} ); } // ───────── PILLARS — 3 áreas ───────── function Pillars() { const t = useT(); const pillars = [ { num: '01', t: t('pillar_clinic_t'), d: t('pillar_clinic_d'), img: 'assets/p-estetica.png', anchor: '#services' }, { num: '02', t: t('pillar_hair_t'), d: t('pillar_hair_d'), img: 'assets/p-soraya-maquillaje.png', anchor: '#services' }, { num: '03', t: t('pillar_acad_t'), d: t('pillar_acad_d'), img: 'assets/p-aparatologia.png', anchor: '#academy' }, ]; return ( Golden Hall Tres mundos, un mismo salón. {pillars.map((p, i) => ( {p.num} {p.t} {p.d} {i === 2 ? 'Ver cursos' : 'Saber más'} ))} ); } // ───────── ABOUT ───────── function About() { const t = useT(); return ( {t('about_eyebrow')} {t('about_title_1')}{t('about_title_em')} {t('about_p1')} {t('about_p2')} {t('about_signature')} ); } window.Nav = Nav; window.Hero = Hero; window.Stats = Stats; window.Pillars = Pillars; window.About = About;
{t('hero_sub')}
{p.d}
{t('about_p1')}
{t('about_p2')}