From 0aa5d8cc0ea675b907e4108d247b6c4653212808 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sat, 18 Nov 2023 18:18:15 +0100 Subject: [PATCH] Integrated all pages in the main.jsx --- client/src/main.jsx | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/client/src/main.jsx b/client/src/main.jsx index ee05eae..e8d0ac6 100644 --- a/client/src/main.jsx +++ b/client/src/main.jsx @@ -8,24 +8,19 @@ import Root from "@/common/layouts/Root"; import Home from "@/pages/Home"; import Imprint from "@/pages/Imprint"; import Privacy from "@/pages/Privacy"; +import Create from "@/pages/Create"; +import Join from "@/pages/Join"; const routes = createBrowserRouter([ { path: "/", element: , children: [ - { - path: "/", - element: , - }, - { - path: "/imprint", - element: , - }, - { - path: "/privacy", - element: - }, + {path: "/", element: }, + {path: "/imprint", element: }, + {path: "/privacy", element: }, + {path: "/create", element: }, + {path: "/join", element: }, { path: "*", element:
404 - Seite nicht gefunden
,