Add placeholder routes

This commit is contained in:
Leonardo Murça 2022-11-22 23:47:07 -03:00
parent 9035f7f102
commit 87d2bd6362

View file

@ -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" />} />