import {createBrowserRouter, RouterProvider} from "react-router-dom";
import HomePage from "./pages/home/index.page.tsx";
import NotFound from "./pages/not-found/index.page.tsx";
import Layout from "./components/layout";
import QRCodeGenerator from "./pages/util/qr/index.page.tsx";
import EventRouter from "./pages/events/router.tsx";
import PrivacyPolicy from "./pages/privacy-policy.page.tsx";
import TermsAndConditions from "./pages/terms-and-conditions.page.tsx";
const router = createBrowserRouter([
{
path: "/",
element: ,
children: [
{
index: true,
element:
},
{
path: "privacy-policy",
element:
},
{
path: "imprint",
element:
},
{
path: "terms-and-conditions",
element:
},
{
path: "events/*",
element: ,
},
{
path: "util",
children: [
{
path: "qr",
element:
}
]
},
{
path: "*",
element:
}
]
},
])
function Router() {
return (
)
}
export default Router