diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index c63ef22..7fa0780 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -5,6 +5,10 @@ import { createBrowserRouter, RouterProvider } from "react-router-dom"; import App from "./Pages/App"; import AdminMenuPage from "./Pages/AdminPages/AdminMenuPage"; import YourProjectsPage from "./Pages/YourProjectsPage"; +import AdminAddProject from "./Pages/AdminPages/AdminAddProject"; +import AdminManageProjects from "./Pages/AdminPages/AdminManageProjects"; +import AdminManageUsers from "./Pages/AdminPages/AdminManageUsers"; +import AdminAddUser from "./Pages/AdminPages/AdminAddUser"; // This is where the routes are mounted const router = createBrowserRouter([ @@ -20,6 +24,26 @@ const router = createBrowserRouter([ path: "/pm", element: , }, + { + path: "/user", + element: , + }, + { + path: "/addProject", + element: , + }, + { + path: "/adminAddUser", + element: , + }, + { + path: "/adminManageProject", + element: , + }, + { + path: "/adminManageUser", + element: , + }, ]); // Semi-hacky way to get the root element