-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
58 lines (48 loc) · 1.32 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import {BrowserRouter,Route,Routes} from 'react-router-dom'
import "./App.css";
// Import Bootstrap CSS
import "bootstrap/dist/css/bootstrap.min.css";
// Import Bootstrap JavaScript
import "bootstrap/dist/js/bootstrap.bundle.min.js";
import Navbar from "./components/navbar";
import Home from "./components/Home";
import Testimonal from "./components/Testimonal";
import Block1 from "./components/Block1";
import Block2 from "./components/Block2";
import HomeSlide from "./components/HomeSlide";
import Testimonal2 from "./components/Testimonal2";
import Contact from "./components/Contact";
import Footer from "./components/Footer";
import Product from './components/Product';
import Founder from './components/Founder';
import Whywe from './components/Whywe';
// import Slider from "./components/Slider";
function MainLayout (){
return (
<div>
{/* <HomeSlide /> */}
<Home />
<Block1 />
<Block2 />
<Founder/>
<Testimonal />
<Testimonal2 />
<Contact />
<Whywe/>
<Footer />
{/* <Slider/> */}
</div>
);
}
function App() {
return (
<BrowserRouter>
<Navbar />
<Routes>
<Route path="/" element={<MainLayout />} />
<Route path="product" element={<Product />} />
</Routes>
</BrowserRouter>
);
}
export default App;