@@ -4,38 +4,15 @@ export default function Home() {
4
4
return (
5
5
< div className = "container" >
6
6
< Head >
7
- < title > Create Next App</ title >
8
- < link rel = "icon" href = "/favicon.ico" />
7
+ < title > Next.js with Edge functions</ title >
9
8
</ Head >
10
9
11
10
< main >
12
- < h1 className = "title" >
13
- Welcome to < a href = "https://nextjs.org" > Next.js!</ a >
14
- </ h1 >
15
-
16
- < p className = "description" >
17
- Get started by editing < code > pages/index.js</ code >
11
+ < p >
12
+ If you're seeing this page, that means that edge functions aren't running.
13
+ Run `netlify dev` to see an edge function in action!
18
14
</ p >
19
15
20
- < div className = "grid" >
21
- < a href = "https://nextjs.org/docs" className = "card" >
22
- < h3 > Documentation →</ h3 >
23
- < p > Find in-depth information about Next.js features and API.</ p >
24
- </ a >
25
-
26
- < a href = "https://nextjs.org/learn" className = "card" >
27
- < h3 > Learn →</ h3 >
28
- < p > Learn about Next.js in an interactive course with quizzes!</ p >
29
- </ a >
30
-
31
- < a
32
- href = "https://github.com/vercel/next.js/tree/master/examples"
33
- className = "card"
34
- >
35
- < h3 > Examples →</ h3 >
36
- < p > Discover and deploy boilerplate example Next.js projects.</ p >
37
- </ a >
38
- </ div >
39
16
</ main >
40
17
< style jsx > { `
41
18
.container {
@@ -55,117 +32,6 @@ export default function Home() {
55
32
justify-content: center;
56
33
align-items: center;
57
34
}
58
-
59
- footer {
60
- width: 100%;
61
- height: 100px;
62
- border-top: 1px solid #eaeaea;
63
- display: flex;
64
- justify-content: center;
65
- align-items: center;
66
- }
67
-
68
- footer img {
69
- margin-left: 0.5rem;
70
- }
71
-
72
- footer a {
73
- display: flex;
74
- justify-content: center;
75
- align-items: center;
76
- }
77
-
78
- a {
79
- color: inherit;
80
- text-decoration: none;
81
- }
82
-
83
- .title a {
84
- color: #0070f3;
85
- text-decoration: none;
86
- }
87
-
88
- .title a:hover,
89
- .title a:focus,
90
- .title a:active {
91
- text-decoration: underline;
92
- }
93
-
94
- .title {
95
- margin: 0;
96
- line-height: 1.15;
97
- font-size: 4rem;
98
- }
99
-
100
- .title,
101
- .description {
102
- text-align: center;
103
- }
104
-
105
- .description {
106
- line-height: 1.5;
107
- font-size: 1.5rem;
108
- }
109
-
110
- code {
111
- background: #fafafa;
112
- border-radius: 5px;
113
- padding: 0.75rem;
114
- font-size: 1.1rem;
115
- font-family: Menlo, Monaco, Lucida Console, Liberation Mono,
116
- DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
117
- }
118
-
119
- .grid {
120
- display: flex;
121
- align-items: center;
122
- justify-content: center;
123
- flex-wrap: wrap;
124
-
125
- max-width: 800px;
126
- margin-top: 3rem;
127
- }
128
-
129
- .card {
130
- margin: 1rem;
131
- flex-basis: 45%;
132
- padding: 1.5rem;
133
- text-align: left;
134
- color: inherit;
135
- text-decoration: none;
136
- border: 1px solid #eaeaea;
137
- border-radius: 10px;
138
- transition: color 0.15s ease, border-color 0.15s ease;
139
- }
140
-
141
- .card:hover,
142
- .card:focus,
143
- .card:active {
144
- color: #0070f3;
145
- border-color: #0070f3;
146
- }
147
-
148
- .card h3 {
149
- margin: 0 0 1rem 0;
150
- font-size: 1.5rem;
151
- }
152
-
153
- .card p {
154
- margin: 0;
155
- font-size: 1.25rem;
156
- line-height: 1.5;
157
- }
158
-
159
- .logo {
160
- height: 1em;
161
- }
162
-
163
- @media (max-width: 600px) {
164
- .grid {
165
- width: 100%;
166
- flex-direction: column;
167
- }
168
- }
169
35
` } </ style >
170
36
171
37
< style jsx global > { `
0 commit comments