-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
43 lines (37 loc) · 848 Bytes
/
index.js
File metadata and controls
43 lines (37 loc) · 848 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
31
32
33
34
35
36
37
38
39
40
41
42
43
import React from 'react'
import { ToastContainer } from 'react-toastify'
import Footer from '../components/Footer'
import Home from '../components/Home'
import CustomHead from '../components/CustomHead'
import Projects from './projects'
import AboutUs from './about-us'
export default function App() {
return (
<>
<CustomHead />
<ToastContainer
position="top-right"
autoClose={5000}
hideProgressBar={false}
newestOnTop={false}
closeOnClicks
rtl={false}
pauseOnFocusLoss
draggable
theme={'dark'}
pauseOnHover
/>
<Home />
<Projects />
<AboutUs />
<Footer />
</>
)
}
export function getStaticProps({ locale }) {
return {
props: {
messages: require(`../translations/${locale}.json`),
},
}
}