/* Root App, mounts all sections in order and wires the reveal observer. */

function App() {
  useReveal();
  return (
    <React.Fragment>
      <Navbar />
      <main>
        <Hero />
        <SectionDivider />
        <SectionAbout />
        <SectionHowItWorks />
        <SectionReturns />
        <SectionTestimonials />
        <SectionNotForEveryone />
        <SectionCommitment />
      </main>
      <Footer />
    </React.Fragment>
  );
}

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