-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
30 lines (28 loc) · 899 Bytes
/
App.js
File metadata and controls
30 lines (28 loc) · 899 Bytes
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
import { Route, Routes } from "react-router-dom"
import Navbar from "./Navbar"
import About from "./pages/About"
import Admin from "./pages/Admin"
import Complaint from "./pages/Complaint"
import Home from "./pages/Home"
import Login from "./pages/Login"
import Register from "./pages/Register"
import StayAware from "./pages/StayAware"
function App() {
return (
<>
<Navbar />
<div className="container">
<Routes>
<Route path="/" element={<Home />} />
<Route path="/complaint" element={<Complaint />} />
<Route path="/StayAware" element={<StayAware />} />
<Route path="/Login" element={<Login />} />
<Route path="/Admin" element={<Admin />} />
<Route path="/about" element={<About />} />
<Route path="/Register" element={<Register/>}/>
</Routes>
</div>
</>
)
}
export default App