-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
36 lines (27 loc) · 956 Bytes
/
App.js
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
36
import React from 'react'
import { BrowserRouter, Routes, Route } from 'react-router-dom'
import Header from './components/Header'
import Footer from './components/Footer'
import Home from './components/Home'
import Men from './components/Men'
import Kids from './components/Kids'
import Women from './components/Women'
import Cart from './buttons/Cart'
function App() {
return (
<>
<BrowserRouter>
<Header />
<Routes>
<Route path='/Home' element={Home} />
<Route path='/Men' element={<Men/>} />
<Route path='/Kids' element={<Kids/>} />
<Route path='/Women' element={<Women/>} />
<Route path='/Cart' element={<Cart/>} />
</Routes>
<Footer/>
</BrowserRouter>
</>
)
}
export default App