import React from "react";
import ReactDOM from "react-dom/client";
import { BrowserRouter } from "react-router-dom";
import { HelmetProvider } from "react-helmet-async";
import MarketingApp from "./MarketingApp";
import "./styles/marketing.css";
import "../styles/igny8-colors.css";

const container = document.getElementById("root");

if (!container) {
  throw new Error("Marketing root element not found");
}

const root = ReactDOM.createRoot(container);

root.render(
  <React.StrictMode>
    <HelmetProvider>
      <BrowserRouter>
        <MarketingApp />
      </BrowserRouter>
    </HelmetProvider>
  </React.StrictMode>
);

