-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.jsx
35 lines (31 loc) · 1.18 KB
/
App.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { useState } from 'react'
import { BrowserRouter, Routes, Route } from 'react-router-dom';
import Home from './pages/Home'
import './App.css'
import Footer from './components/Footer';
import AddApplication from './pages/AddApplication';
import RecentApplications from './pages/RecentApplications';
import Calendar from './pages/Calendar';
import Stats from './pages/Stats';
import Archive from './pages/Archive';
function App() {
return (
<>
<div>
<BrowserRouter>
<Routes>
<Route index element={<Home name = {"homepage"}/>}/>
<Route path="/home" element={<Home name = {"Homepage"}/>}/>
<Route path="/AddApplication" element={<AddApplication name = {"Add Application"}/>}/>
<Route path="/recentApplications" element={<RecentApplications name = {"Recent Applications"}/>}/>
<Route path="/calendar" element={<Calendar name = {"Calendar"}/>}/>
<Route path="/stats" element={<Stats name = {"Statistics"}/>}/>
<Route path="/archive" element={<Archive name = {"Archive"}/>}/>
</Routes>
</BrowserRouter>
<Footer/>
</div>
</>
)
}
export default App