Merged Ombase's changes from frontend branch with main branch. Created sidebar, dashboard, and not found page. Minor changes to landing page.
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
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";
|
||||
import NotFoundPage from "./pages/UserPages/NotFoundPage";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<Router>
|
||||
<Routes>
|
||||
{/* Landing Page at root ("/") */}
|
||||
<Route path="/" element={<DrivethruLandingPage />} />
|
||||
|
||||
{/* Login Page at "/login" */}
|
||||
<Route path="/login" element={<Login />} />
|
||||
<Route path="/signup" element={<SignUp />} />
|
||||
<Route path="/Dashboard" element={<Dashboard />} />
|
||||
<Route path="*" element={<NotFoundPage />} />
|
||||
</Routes>
|
||||
</Router>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user