/
index.js
118 lines (117 loc) · 3.71 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import Head from 'next/head'
import {
MDBBtn,
MDBCard,
MDBCardBody,
MDBCardText,
MDBCardTitle,
MDBCol,
MDBContainer,
MDBFooter,
MDBRow,
} from 'mdbreact'
export default function Home() {
return (
<>
<Head>
<title>NextJS with Material Design Bootstrap for React</title>
<link rel="icon" href="/favicon.ico" />
</Head>
<MDBContainer className="text-center mt-5">
<h1 className="h1-responsive font-weight-bolder">
Welcome to <a href="https://nextjs.org">Next.js!</a>
</h1>
<p className="mb-3">
Get started by editing <code>pages/index.js</code>
</p>
<MDBRow>
<MDBCol sm="6">
<MDBCard className="my-3">
<MDBCardBody>
<MDBCardTitle tag="h5">Documentation</MDBCardTitle>
<MDBCardText>
Find in-depth information about Next.js features and API.
</MDBCardText>
<MDBBtn
color="primary"
size="sm"
className="text-capitalize"
href="https://nextjs.org/docs"
>
More →
</MDBBtn>
</MDBCardBody>
</MDBCard>
</MDBCol>
<MDBCol sm="6">
<MDBCard className="my-3">
<MDBCardBody>
<MDBCardTitle tag="h5">Learn</MDBCardTitle>
<MDBCardText>
Learn about Next.js in an interactive course with quizzes!
</MDBCardText>
<MDBBtn
color="primary"
size="sm"
className="text-capitalize"
href="https://nextjs.org/learn"
>
More →
</MDBBtn>
</MDBCardBody>
</MDBCard>
</MDBCol>
</MDBRow>
<MDBRow>
<MDBCol sm="6">
<MDBCard className="my-3">
<MDBCardBody>
<MDBCardTitle tag="h5">Examples</MDBCardTitle>
<MDBCardText>
Discover and deploy boilerplate example Next.js projects.
</MDBCardText>
<MDBBtn
color="primary"
size="sm"
className="text-capitalize"
href="https://github.com/vercel/next.js/tree/master/examples"
>
More →
</MDBBtn>
</MDBCardBody>
</MDBCard>
</MDBCol>
<MDBCol sm="6">
<MDBCard className="my-3">
<MDBCardBody>
<MDBCardTitle tag="h5">Deploy</MDBCardTitle>
<MDBCardText>
Instantly deploy your Next.js site to a public URL with
Vercel.
</MDBCardText>
<MDBBtn
color="primary"
size="sm"
className="text-capitalize"
href="https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=example&utm_campaign=next-example"
>
More →
</MDBBtn>
</MDBCardBody>
</MDBCard>
</MDBCol>
</MDBRow>
<MDBFooter className="text-center mt-4" color="white">
<span className="black-text"> Powered by</span>
<a
href="https://vercel.com?filter=next.js&utm_source=github&utm_medium=example&utm_campaign=next-example"
target="_blank"
rel="noopener noreferrer"
>
<img src="/vercel.svg" alt="Vercel Logo" />
</a>
</MDBFooter>
</MDBContainer>
</>
)
}