// App.jsx — assembles the page and provides language context
function App() {
  // Auto-set Dutch when visiting nomadplant.nl, English otherwise
  const defaultLang = window.location.hostname.endsWith(".nl") ? "nl" : "en";
  const [lang, setLang] = React.useState(defaultLang);

  return (
    <LangContext.Provider value={{ lang, setLang }}>
      <Nav />
      <Hero />
      <Marquee />
      <Products />
      <Story />
      <Contact />
      <Footer />
    </LangContext.Provider>
  );
}
ReactDOM.createRoot(document.getElementById("root")).render(<App />);
