-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathApp.jsx
33 lines (27 loc) · 925 Bytes
/
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
import { useState } from 'react'
import './App.css'
import Landing from './components/landing/landing'
import TeamPage from './components/team/team'
import React from "react";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Sidebar from "./components/sidenav/sidebar.jsx";
import Members from "./components/sidenav/Members.jsx";
import AboutUs from "./components/About/about.jsx";
import EventPage from './components/Events/events.jsx'
function App() {
const [count, setCount] = useState(0)
return (
<Router>
<div className='bg-black'>
<Sidebar />
<Routes>
<Route path="/" element={<Landing/>} />
<Route path="/home" element={<AboutUs/>}/>
<Route path="/events" element={<EventPage/>} />
<Route path="/members" element={<TeamPage/>} />
</Routes>
</div>
</Router>
);
}
export default App