// HOME page
const { useState, useEffect } = React;

function HomeApp() {
  const [lang, setLang] = useLang();
  const t = mergeT(lang);
  return (
    <>
      <Header lang={lang} setLang={setLang} t={t} active="home" />
      <Hero t={t} />
      <Services t={t} />
      <About t={t} />
      <Why t={t} />
      <Projects t={t} />
      <Area t={t} />
      <Contact t={t} lang={lang} />
      <FooterMP lang={lang} t={t} />
    </>
  );
}

ReactDOM.createRoot(document.getElementById("app")).render(<HomeApp />);
