// ============================================================ // Tribeca Lisboa — RESPONSIVE homepage app (bilingual) // Uses shared SiteHeader / SiteMenuDrawer + global lang. // ============================================================ function RApp() { const [menu, setMenu] = React.useState(false); const [lang] = useLang(); React.useEffect(() => { if (location.hash === '#whats-new') { const el = document.getElementById('whats-new'); if (el) { window.scrollTo(0, 0); setTimeout(() => { const hdr = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--hdr-h')) || 82; smoothScrollTo(el.getBoundingClientRect().top + window.scrollY - hdr, 1000); }, 220); } } }, []); return (
setMenu(true)} /> {/* TEMPORARILY HIDDEN — restore on request: */} {/* TEMPORARILY HIDDEN — restore on request: */} setMenu(false)} />
); } ReactDOM.createRoot(document.getElementById('root')).render();