forked from vercel/next.js
/
index.jsx
106 lines (104 loc) · 3.18 KB
/
index.jsx
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
import Head from 'next/head'
import {
Container,
Row,
Col,
Button,
Card,
CardText,
CardTitle,
CardBody,
} from 'reactstrap'
export default function Home() {
return (
<Container className="md-container">
<Head>
<title>ReactJS with reactstrap</title>
<link rel="icon" href="/favicon-32x32.png" />
</Head>
<Container>
<h1>
Welcome to <a href="https://nextjs.org">Next.js!</a>
</h1>
<p>
Get started by editing <code>pages/index.js</code>
</p>
<Container>
<Row>
<Col sm="6">
<Card className="my-3">
<CardBody>
<CardTitle tag="h5">Documentation</CardTitle>
<CardText>
Find in-depth information about Next.js features and API.
</CardText>
<Button color="primary" href="https://nextjs.org/docs">
More →
</Button>
</CardBody>
</Card>
</Col>
<Col sm="6">
<Card className="my-3">
<CardBody>
<CardTitle tag="h5">Learn</CardTitle>
<CardText>
Learn about Next.js in an interactive course with quizzes!
</CardText>
<Button color="primary" href="https://nextjs.org/learn">
More →
</Button>
</CardBody>
</Card>
</Col>
</Row>
<Row>
<Col sm="6">
<Card className="my-3">
<CardBody>
<CardTitle tag="h5">Examples</CardTitle>
<CardText>
Discover and deploy boilerplate example Next.js projects.
</CardText>
<Button
color="primary"
href="https://github.com/vercel/next.js/tree/canary/examples"
>
More →
</Button>
</CardBody>
</Card>
</Col>
<Col sm="6">
<Card className="my-3">
<CardBody>
<CardTitle tag="h5">Deploy</CardTitle>
<CardText>
Instantly deploy your Next.js site to a public URL with
Vercel.
</CardText>
<Button
color="primary"
href="https://vercel.com/new?utm_source=github&utm_medium=example&utm_campaign=next-example"
>
More →
</Button>
</CardBody>
</Card>
</Col>
</Row>
</Container>
</Container>
<footer className="cntr-footer">
<a
href="https://vercel.com?filter=next.js&utm_source=github&utm_medium=example&utm_campaign=next-example"
target="_blank"
rel="noopener noreferrer"
>
Powered by{' '}
<img src="/vercel.svg" alt="Vercel Logo" className="sml-logo" />
</a>
</footer>
</Container>
)
}