import React from "react";
import { Layout } from "./components/Layout";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import HomePage from "./pages/HomePage";
import { GamesPage } from "./pages/GamesPage";
import "./App.css";
// import MinecraftPage from "./pages/MinecraftPage";
import SupportPortal from "./pages/SupportPage";
// import AboutPage from "./pages/AboutPage";
import VPSPage from "./pages/VPSPage";
import SpecsPage from "./pages/SpecsPage";
// import PartnersPage from "./pages/PartnersPage";
// import WebHosting from "./pages/WebHosting";
import TOSPage from "./pages/TOSPage";
// import PrivacyPolicy from "./pages/PrivacyPolicy";
// import AUPPage from "./pages/AUPPage";
// import SitemapPage from "./pages/SiteMap";
// import CareersPage from "./pages/CareersPage";
import NotFoundPage from "./pages/NotFoundPage";

function App() {
  return (
    <>
      <Layout>
        <main>
          <BrowserRouter>
            <Routes>
              <Route path="/" element={<HomePage />} />
              <Route path="/games" element={<GamesPage />} />
              {/* <Route path="/minecraft" element={<MinecraftPage />} /> */}
              <Route path="/support" element={<SupportPortal />} />
              {/* <Route path="/about" element={<AboutPage />} /> */}
              <Route path="/vps" element={<VPSPage />} />
              <Route path="/specs" element={<SpecsPage />} />
              {/* <Route path="/partners" element={<PartnersPage />} /> */}
              {/* <Route path="/web-hosting" element={<WebHosting />} /> */}
              <Route path="/tos" element={<TOSPage />} />
              {/* <Route path="/privacy-policy" element={<PrivacyPolicy />} /> */}
              {/* <Route path="/aup" element={<AUPPage />} /> */}
              {/* <Route path="/sitemap" element={<SitemapPage />} /> */}
              {/* <Route path="/careers" element={<CareersPage />} /> */}
              <Route path="*" element={<NotFoundPage />} />
            </Routes>
          </BrowserRouter>
        </main>
      </Layout>
    </>
  );
}

export default App;
