Add placeholder routes
This commit is contained in:
parent
9035f7f102
commit
87d2bd6362
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ import { Navigate, Route, Routes } from 'react-router-dom';
|
|||
function ProfessorRoutes() {
|
||||
return (
|
||||
<Routes>
|
||||
<Route path="/calendar" element={<h1>Calendar</h1>} />
|
||||
<Route path="/profile" element={<h1>Profile</h1>} />
|
||||
<Route path="/info" element={<h1>Information</h1>} />
|
||||
<Route path="/home" element={<h1>Home</h1>} />
|
||||
<Route path="/login" element={<Navigate to="/home" />} />
|
||||
<Route path="/register" element={<Navigate to="/home" />} />
|
||||
|
|
Loading…
Reference in a new issue