/* ============================================================
   App root — assembles the landing page
   ============================================================ */

const App = () => {
  const [quoteOpen, setQuoteOpen] = useState(false);
  const openQuote = () => setQuoteOpen(true);
  const closeQuote = () => setQuoteOpen(false);
  return (
    <>
      <Nav onQuote={openQuote} />
      <Hero onQuote={openQuote} />
      <Marquee />
      <About />
      <Services onQuote={openQuote} />
      <Stats />
      <WhyUs />
      <Testimonials />
      <Coverage />
      <CTA onQuote={openQuote} />
      <Footer onQuote={openQuote} />
      <QuoteModal open={quoteOpen} onClose={closeQuote} />
    </>
  );
};

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