// Multi-route entry — renders LandingClassic for whichever page the HTML
// wrapper selected via window.PAGE_KEY. Same look across all routes.

function SitePage() {
  const pageKey = window.PAGE_KEY || "bookgigi";
  const page = (window.PAGES && window.PAGES[pageKey]) || window.PAGES.bookgigi;

  const theme = {
    accent: "#7A5AE0",
    isDark: false,
    fontStack: '-apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif',
    serifStack: '"Instrument Serif", Georgia, "Times New Roman", serif',
    showCompanies: true,
    showTags: true,
  };

  return (
    <React.Fragment>
      <CustomCursor accent={theme.accent} />
      <LandingClassic theme={theme} page={page} />
    </React.Fragment>
  );
}

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