diff --git a/webapp/src/App.tsx b/webapp/src/App.tsx index d5b1a1d..498c5ca 100644 --- a/webapp/src/App.tsx +++ b/webapp/src/App.tsx @@ -1,22 +1,47 @@ // App.tsx -import { BrowserRouter, Route, Routes } from "react-router-dom"; +import { + createBrowserRouter, + BrowserRouter, + Route, + Routes, + RouterProvider, +} from "react-router-dom"; import Dashboard from "./pages/Dashboard"; import LandingPage from "./pages/LandingPage"; import Server from "./pages/Server"; import AuthComponent from "./components/Auth"; const App = () => { + const router = createBrowserRouter([ + { + path: "/", + element: , + }, + { + path: "/auth", + element: , + }, + { + path: "/dashboard", + element: , + }, + { + path: "/server", + element: , + }, + ]); return ( - - - - } /> - } /> - } /> - } /> - - - + + // + // + // + // } /> + // } /> + // } /> + // } /> + // + // + // ); };