// Root app — single landing page, no routing.
function App() {
const [quote, setQuote] = React.useState(false);
const [legal, setLegal] = React.useState(null); // 'privacy' | 'terms' | null
const { lang } = window.ArmaekI18n.useLang();
const openQuote = () => setQuote(true);
const { Nav, Home } = window;
const { Footer, QuoteModal, LegalModal, CookieConsent } = window.ContactParts;
return (
<>
setQuote(false)} />
setLegal(null)} />
>
);
}
ReactDOM.createRoot(document.getElementById('armaek-app')).render();