Feat:Added routes
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import "./App.css";
|
||||
import DrivethruLandingPage from "./pages/DrivethruLandingPage";
|
||||
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
|
||||
import Login from "./pages/Authentication/Login";
|
||||
import SignUp from "./pages/Authentication/SignUp";
|
||||
import DrivethruLandingPage from "./pages/UserPages/DrivethruLandingPage";
|
||||
import Dashboard from "./pages/UserPages/Dashboard";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
@@ -14,6 +15,7 @@ function App() {
|
||||
{/* Login Page at "/login" */}
|
||||
<Route path="/login" element={<Login />} />
|
||||
<Route path="/signup" element={<SignUp />} />
|
||||
<Route path="/Dashboard" element={<Dashboard />} />
|
||||
</Routes>
|
||||
</Router>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user