/* ============================================================
   APP — root
   ============================================================ */

function App() {
  useEffect(() => {
    if ('scrollRestoration' in history) history.scrollRestoration = "manual";
    window.scrollTo(0, 0);
  }, []);

  return (
    <div className="page">
      <TopBar />
      <Cmdline />
      <Hero />
      <ExperienceSection />
      <ProjectsSection />
      <TechSection />
      <LanguagesSection />
      <EducationSection />
      <ContactSection />
      <TweaksPanel />
    </div>
  );
}

const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(<App />);
