-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
45 lines (37 loc) · 1.04 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
41
42
43
44
45
import React from 'react'
import Head from 'next/head'
const Home = () => (
<div>
<h1>Next.js on the [JAMstack](https://jamstack.org)</h1>
<h3>Hooray 🎉 - you've built this with <a href="https://nextjs.org">Next.js</a>!</h3>
<style jsx>{`
:global(html,body) {
margin: 0;
padding: 0;
height: 100%;
}
:global(body) {
font-size: calc(10px + 1vmin);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
'Droid Sans', 'Helvetica Neue', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
background-color: #282c34;
color: white;
}
a {
color: pink;
text-decoration: none;
}
.content {
padding: 0 32px;
}
`}</style>
</div>
)
export default Home