forked from smaranjitghose/doc2pen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
40 lines (35 loc) · 1.03 KB
/
index.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
import React, { useEffect } from "react";
import MetaComponent from "../../seo/MetaComponent";
import metaData from "../../seo/metaData";
import About from "./sections/About/About";
import Banner from "./sections/Banner/Banner";
import OpenSource from "./sections/OpenSource/OpenSource";
import SupportUs from "./sections/SupportUs/SupportUs";
import Team from "./sections/Team/Team";
import ScrollToTop from "./../../components/ScrollToTopButton/ScrollToTopButton";
import Contact from './sections/Contact/ContactUs'
import style from './home.module.scss'
function Home() {
useEffect(() => {
window.scrollTo(0, 0);
}, []);
return (
<div className="HomePage">
<MetaComponent
title={metaData.home.title}
description={metaData.home.description}
keywords={metaData.home.keywords}
/>
<Banner />
<About />
<Team />
<OpenSource />
<SupportUs />
<Contact />
<div className={style.btnWrapper}>
<ScrollToTop />
</div>
</div>
);
}
export default Home;