create-next-app 14.2.6 → 14.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/templates/app/js/README-template.md +4 -4
- package/dist/templates/app/js/app/fonts/GeistMonoVF.woff +0 -0
- package/dist/templates/app/js/app/fonts/GeistVF.woff +0 -0
- package/dist/templates/app/js/app/globals.css +15 -80
- package/dist/templates/app/js/app/layout.js +14 -3
- package/dist/templates/app/js/app/page.js +63 -63
- package/dist/templates/app/js/app/page.module.css +107 -172
- package/dist/templates/app/ts/README-template.md +4 -4
- package/dist/templates/app/ts/app/fonts/GeistMonoVF.woff +0 -0
- package/dist/templates/app/ts/app/fonts/GeistVF.woff +0 -0
- package/dist/templates/app/ts/app/globals.css +15 -80
- package/dist/templates/app/ts/app/layout.tsx +14 -3
- package/dist/templates/app/ts/app/page.module.css +107 -172
- package/dist/templates/app/ts/app/page.tsx +63 -63
- package/dist/templates/app/ts/eslintrc.json +1 -1
- package/dist/templates/app/ts/next-env.d.ts +1 -1
- package/dist/templates/app-tw/js/app/fonts/GeistMonoVF.woff +0 -0
- package/dist/templates/app-tw/js/app/fonts/GeistVF.woff +0 -0
- package/dist/templates/app-tw/js/app/globals.css +7 -13
- package/dist/templates/app-tw/js/app/layout.js +16 -3
- package/dist/templates/app-tw/js/app/page.js +70 -82
- package/dist/templates/app-tw/js/tailwind.config.js +3 -4
- package/dist/templates/app-tw/ts/README-template.md +4 -4
- package/dist/templates/app-tw/ts/app/fonts/GeistMonoVF.woff +0 -0
- package/dist/templates/app-tw/ts/app/fonts/GeistVF.woff +0 -0
- package/dist/templates/app-tw/ts/app/globals.css +7 -13
- package/dist/templates/app-tw/ts/app/layout.tsx +16 -3
- package/dist/templates/app-tw/ts/app/page.tsx +70 -82
- package/dist/templates/app-tw/ts/eslintrc.json +1 -1
- package/dist/templates/app-tw/ts/next-env.d.ts +1 -1
- package/dist/templates/app-tw/ts/tailwind.config.ts +3 -4
- package/dist/templates/default/js/pages/fonts/GeistMonoVF.woff +0 -0
- package/dist/templates/default/js/pages/fonts/GeistVF.woff +0 -0
- package/dist/templates/default/js/pages/index.js +76 -72
- package/dist/templates/default/js/styles/Home.module.css +107 -171
- package/dist/templates/default/js/styles/globals.css +15 -80
- package/dist/templates/default/ts/eslintrc.json +1 -1
- package/dist/templates/default/ts/next-env.d.ts +1 -1
- package/dist/templates/default/ts/pages/fonts/GeistMonoVF.woff +0 -0
- package/dist/templates/default/ts/pages/fonts/GeistVF.woff +0 -0
- package/dist/templates/default/ts/pages/index.tsx +76 -72
- package/dist/templates/default/ts/styles/Home.module.css +107 -171
- package/dist/templates/default/ts/styles/globals.css +15 -80
- package/dist/templates/default-tw/js/pages/_document.js +1 -1
- package/dist/templates/default-tw/js/pages/fonts/GeistMonoVF.woff +0 -0
- package/dist/templates/default-tw/js/pages/fonts/GeistVF.woff +0 -0
- package/dist/templates/default-tw/js/pages/index.js +81 -84
- package/dist/templates/default-tw/js/styles/globals.css +7 -13
- package/dist/templates/default-tw/js/tailwind.config.js +3 -4
- package/dist/templates/default-tw/ts/eslintrc.json +1 -1
- package/dist/templates/default-tw/ts/next-env.d.ts +1 -1
- package/dist/templates/default-tw/ts/pages/_document.tsx +1 -1
- package/dist/templates/default-tw/ts/pages/fonts/GeistMonoVF.woff +0 -0
- package/dist/templates/default-tw/ts/pages/fonts/GeistVF.woff +0 -0
- package/dist/templates/default-tw/ts/pages/index.tsx +81 -84
- package/dist/templates/default-tw/ts/styles/globals.css +7 -13
- package/dist/templates/default-tw/ts/tailwind.config.ts +3 -4
- package/package.json +1 -1
- package/dist/templates/app/js/public/next.svg +0 -1
- package/dist/templates/app/js/public/vercel.svg +0 -1
- package/dist/templates/app/ts/public/next.svg +0 -1
- package/dist/templates/app/ts/public/vercel.svg +0 -1
- package/dist/templates/app-tw/js/public/next.svg +0 -1
- package/dist/templates/app-tw/js/public/vercel.svg +0 -1
- package/dist/templates/app-tw/ts/public/next.svg +0 -1
- package/dist/templates/app-tw/ts/public/vercel.svg +0 -1
- package/dist/templates/default/js/public/next.svg +0 -1
- package/dist/templates/default/js/public/vercel.svg +0 -1
- package/dist/templates/default/ts/public/next.svg +0 -1
- package/dist/templates/default/ts/public/vercel.svg +0 -1
- package/dist/templates/default-tw/js/public/next.svg +0 -1
- package/dist/templates/default-tw/js/public/vercel.svg +0 -1
- package/dist/templates/default-tw/ts/public/next.svg +0 -1
- package/dist/templates/default-tw/ts/public/vercel.svg +0 -1
|
@@ -1,230 +1,165 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
.page {
|
|
2
|
+
--gray-rgb: 0, 0, 0;
|
|
3
|
+
--gray-alpha-200: rgba(var(--gray-rgb), 0.08);
|
|
4
|
+
--gray-alpha-100: rgba(var(--gray-rgb), 0.05);
|
|
5
|
+
|
|
6
|
+
--button-primary-hover: #383838;
|
|
7
|
+
--button-secondary-hover: #f2f2f2;
|
|
8
|
+
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-template-rows: 20px 1fr 20px;
|
|
5
11
|
align-items: center;
|
|
6
|
-
|
|
7
|
-
min-height:
|
|
12
|
+
justify-items: center;
|
|
13
|
+
min-height: 100svh;
|
|
14
|
+
padding: 80px;
|
|
15
|
+
gap: 64px;
|
|
16
|
+
font-family: var(--font-geist-sans);
|
|
8
17
|
}
|
|
9
18
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
@media (prefers-color-scheme: dark) {
|
|
20
|
+
.page {
|
|
21
|
+
--gray-rgb: 255, 255, 255;
|
|
22
|
+
--gray-alpha-200: rgba(var(--gray-rgb), 0.145);
|
|
23
|
+
--gray-alpha-100: rgba(var(--gray-rgb), 0.06);
|
|
24
|
+
|
|
25
|
+
--button-primary-hover: #ccc;
|
|
26
|
+
--button-secondary-hover: #1a1a1a;
|
|
27
|
+
}
|
|
19
28
|
}
|
|
20
29
|
|
|
21
|
-
.
|
|
30
|
+
.main {
|
|
22
31
|
display: flex;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: 32px;
|
|
34
|
+
grid-row-start: 2;
|
|
26
35
|
}
|
|
27
36
|
|
|
28
|
-
.
|
|
29
|
-
|
|
37
|
+
.main ol {
|
|
38
|
+
font-family: var(--font-geist-mono);
|
|
39
|
+
padding-left: 0;
|
|
30
40
|
margin: 0;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
font-size: 14px;
|
|
42
|
+
line-height: 24px;
|
|
43
|
+
letter-spacing: -0.01em;
|
|
44
|
+
list-style-position: inside;
|
|
35
45
|
}
|
|
36
46
|
|
|
37
|
-
.
|
|
38
|
-
|
|
39
|
-
font-family: var(--font-mono);
|
|
47
|
+
.main li:not(:last-of-type) {
|
|
48
|
+
margin-bottom: 8px;
|
|
40
49
|
}
|
|
41
50
|
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
51
|
+
.main code {
|
|
52
|
+
font-family: inherit;
|
|
53
|
+
background: var(--gray-alpha-100);
|
|
54
|
+
padding: 2px 4px;
|
|
55
|
+
border-radius: 4px;
|
|
56
|
+
font-weight: 600;
|
|
47
57
|
}
|
|
48
58
|
|
|
49
|
-
.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
59
|
+
.ctas {
|
|
60
|
+
display: flex;
|
|
61
|
+
gap: 16px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ctas a {
|
|
65
|
+
appearance: none;
|
|
66
|
+
border-radius: 128px;
|
|
67
|
+
height: 48px;
|
|
68
|
+
padding: 0 20px;
|
|
69
|
+
border: none;
|
|
70
|
+
border: 1px solid transparent;
|
|
71
|
+
transition: background 0.2s, color 0.2s, border-color 0.2s;
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
font-size: 16px;
|
|
77
|
+
line-height: 20px;
|
|
78
|
+
font-weight: 500;
|
|
55
79
|
}
|
|
56
80
|
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
|
|
81
|
+
a.primary {
|
|
82
|
+
background: var(--foreground);
|
|
83
|
+
color: var(--background);
|
|
84
|
+
gap: 8px;
|
|
60
85
|
}
|
|
61
86
|
|
|
62
|
-
.
|
|
63
|
-
|
|
64
|
-
|
|
87
|
+
a.secondary {
|
|
88
|
+
border-color: var(--gray-alpha-200);
|
|
89
|
+
min-width: 180px;
|
|
65
90
|
}
|
|
66
91
|
|
|
67
|
-
.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
line-height: 1.5;
|
|
72
|
-
max-width: 30ch;
|
|
73
|
-
text-wrap: balance;
|
|
92
|
+
.footer {
|
|
93
|
+
grid-row-start: 3;
|
|
94
|
+
display: flex;
|
|
95
|
+
gap: 24px;
|
|
74
96
|
}
|
|
75
97
|
|
|
76
|
-
.
|
|
98
|
+
.footer a {
|
|
77
99
|
display: flex;
|
|
78
|
-
justify-content: center;
|
|
79
100
|
align-items: center;
|
|
80
|
-
|
|
81
|
-
padding: 4rem 0;
|
|
101
|
+
gap: 8px;
|
|
82
102
|
}
|
|
83
103
|
|
|
84
|
-
.
|
|
85
|
-
|
|
86
|
-
border-radius: 50%;
|
|
87
|
-
width: 480px;
|
|
88
|
-
height: 360px;
|
|
89
|
-
margin-left: -400px;
|
|
104
|
+
.footer img {
|
|
105
|
+
flex-shrink: 0;
|
|
90
106
|
}
|
|
91
107
|
|
|
92
|
-
.center::after {
|
|
93
|
-
background: var(--primary-glow);
|
|
94
|
-
width: 240px;
|
|
95
|
-
height: 180px;
|
|
96
|
-
z-index: -1;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.center::before,
|
|
100
|
-
.center::after {
|
|
101
|
-
content: "";
|
|
102
|
-
left: 50%;
|
|
103
|
-
position: absolute;
|
|
104
|
-
filter: blur(45px);
|
|
105
|
-
transform: translateZ(0);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.logo {
|
|
109
|
-
position: relative;
|
|
110
|
-
}
|
|
111
108
|
/* Enable hover only on non-touch devices */
|
|
112
109
|
@media (hover: hover) and (pointer: fine) {
|
|
113
|
-
.
|
|
114
|
-
background:
|
|
115
|
-
border:
|
|
110
|
+
a.primary:hover {
|
|
111
|
+
background: var(--button-primary-hover);
|
|
112
|
+
border-color: transparent;
|
|
116
113
|
}
|
|
117
114
|
|
|
118
|
-
.
|
|
119
|
-
|
|
115
|
+
a.secondary:hover {
|
|
116
|
+
background: var(--button-secondary-hover);
|
|
117
|
+
border-color: transparent;
|
|
120
118
|
}
|
|
121
|
-
}
|
|
122
119
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
.footer a:hover {
|
|
121
|
+
text-decoration: underline;
|
|
122
|
+
text-underline-offset: 4px;
|
|
126
123
|
}
|
|
127
124
|
}
|
|
128
125
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
padding:
|
|
126
|
+
@media (max-width: 600px) {
|
|
127
|
+
.page {
|
|
128
|
+
padding: 32px;
|
|
129
|
+
padding-bottom: 80px;
|
|
133
130
|
}
|
|
134
131
|
|
|
135
|
-
.
|
|
136
|
-
|
|
137
|
-
margin-bottom: 120px;
|
|
138
|
-
max-width: 320px;
|
|
139
|
-
text-align: center;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.card {
|
|
143
|
-
padding: 1rem 2.5rem;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.card h2 {
|
|
147
|
-
margin-bottom: 0.5rem;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.center {
|
|
151
|
-
padding: 8rem 0 6rem;
|
|
132
|
+
.main {
|
|
133
|
+
align-items: center;
|
|
152
134
|
}
|
|
153
135
|
|
|
154
|
-
.
|
|
155
|
-
|
|
156
|
-
height: 300px;
|
|
136
|
+
.main ol {
|
|
137
|
+
text-align: center;
|
|
157
138
|
}
|
|
158
139
|
|
|
159
|
-
.
|
|
160
|
-
|
|
140
|
+
.ctas {
|
|
141
|
+
flex-direction: column;
|
|
161
142
|
}
|
|
162
143
|
|
|
163
|
-
.
|
|
164
|
-
|
|
144
|
+
.ctas a {
|
|
145
|
+
font-size: 14px;
|
|
146
|
+
height: 40px;
|
|
147
|
+
padding: 0 16px;
|
|
165
148
|
}
|
|
166
149
|
|
|
167
|
-
.
|
|
168
|
-
|
|
169
|
-
display: flex;
|
|
170
|
-
justify-content: center;
|
|
171
|
-
position: fixed;
|
|
172
|
-
width: 100%;
|
|
150
|
+
a.secondary {
|
|
151
|
+
min-width: auto;
|
|
173
152
|
}
|
|
174
153
|
|
|
175
|
-
.
|
|
154
|
+
.footer {
|
|
155
|
+
flex-wrap: wrap;
|
|
176
156
|
align-items: center;
|
|
177
|
-
|
|
178
|
-
padding: 2rem 1rem 1.4rem;
|
|
179
|
-
border-radius: 0;
|
|
180
|
-
border: none;
|
|
181
|
-
border-bottom: 1px solid rgba(var(--callout-border-rgb), 0.25);
|
|
182
|
-
background: linear-gradient(
|
|
183
|
-
to bottom,
|
|
184
|
-
rgba(var(--background-start-rgb), 1),
|
|
185
|
-
rgba(var(--callout-rgb), 0.5)
|
|
186
|
-
);
|
|
187
|
-
background-clip: padding-box;
|
|
188
|
-
backdrop-filter: blur(24px);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.description div {
|
|
192
|
-
align-items: flex-end;
|
|
193
|
-
pointer-events: none;
|
|
194
|
-
inset: auto 0 0;
|
|
195
|
-
padding: 2rem;
|
|
196
|
-
height: 200px;
|
|
197
|
-
background: linear-gradient(
|
|
198
|
-
to bottom,
|
|
199
|
-
transparent 0%,
|
|
200
|
-
rgb(var(--background-end-rgb)) 40%
|
|
201
|
-
);
|
|
202
|
-
z-index: 1;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/* Tablet and Smaller Desktop */
|
|
207
|
-
@media (min-width: 701px) and (max-width: 1120px) {
|
|
208
|
-
.grid {
|
|
209
|
-
grid-template-columns: repeat(2, 50%);
|
|
157
|
+
justify-content: center;
|
|
210
158
|
}
|
|
211
159
|
}
|
|
212
160
|
|
|
213
161
|
@media (prefers-color-scheme: dark) {
|
|
214
|
-
.vercelLogo {
|
|
215
|
-
filter: invert(1);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
162
|
.logo {
|
|
219
|
-
filter: invert(
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
@keyframes rotate {
|
|
224
|
-
from {
|
|
225
|
-
transform: rotate(360deg);
|
|
226
|
-
}
|
|
227
|
-
to {
|
|
228
|
-
transform: rotate(0deg);
|
|
163
|
+
filter: invert();
|
|
229
164
|
}
|
|
230
165
|
}
|
|
@@ -3,93 +3,93 @@ import styles from "./page.module.css";
|
|
|
3
3
|
|
|
4
4
|
export default function Home() {
|
|
5
5
|
return (
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
<div className={styles.page}>
|
|
7
|
+
<main className={styles.main}>
|
|
8
|
+
<Image
|
|
9
|
+
className={styles.logo}
|
|
10
|
+
src="https://nextjs.org/icons/next.svg"
|
|
11
|
+
alt="Next.js logo"
|
|
12
|
+
width={180}
|
|
13
|
+
height={38}
|
|
14
|
+
priority
|
|
15
|
+
/>
|
|
16
|
+
<ol>
|
|
17
|
+
<li>
|
|
18
|
+
Get started by editing <code>app/page.tsx</code>.
|
|
19
|
+
</li>
|
|
20
|
+
<li>Save and see your changes instantly.</li>
|
|
21
|
+
</ol>
|
|
22
|
+
|
|
23
|
+
<div className={styles.ctas}>
|
|
13
24
|
<a
|
|
14
|
-
|
|
25
|
+
className={styles.primary}
|
|
26
|
+
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
15
27
|
target="_blank"
|
|
16
28
|
rel="noopener noreferrer"
|
|
17
29
|
>
|
|
18
|
-
By{" "}
|
|
19
30
|
<Image
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
width={
|
|
24
|
-
height={
|
|
25
|
-
priority
|
|
31
|
+
className={styles.logo}
|
|
32
|
+
src="https://nextjs.org/icons/vercel.svg"
|
|
33
|
+
alt="Vercel logomark"
|
|
34
|
+
width={20}
|
|
35
|
+
height={20}
|
|
26
36
|
/>
|
|
37
|
+
Deploy now
|
|
38
|
+
</a>
|
|
39
|
+
<a
|
|
40
|
+
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
41
|
+
target="_blank"
|
|
42
|
+
rel="noopener noreferrer"
|
|
43
|
+
className={styles.secondary}
|
|
44
|
+
>
|
|
45
|
+
Read our docs
|
|
27
46
|
</a>
|
|
28
47
|
</div>
|
|
29
|
-
</
|
|
30
|
-
|
|
31
|
-
<div className={styles.center}>
|
|
32
|
-
<Image
|
|
33
|
-
className={styles.logo}
|
|
34
|
-
src="/next.svg"
|
|
35
|
-
alt="Next.js Logo"
|
|
36
|
-
width={180}
|
|
37
|
-
height={37}
|
|
38
|
-
priority
|
|
39
|
-
/>
|
|
40
|
-
</div>
|
|
41
|
-
|
|
42
|
-
<div className={styles.grid}>
|
|
43
|
-
<a
|
|
44
|
-
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
45
|
-
className={styles.card}
|
|
46
|
-
target="_blank"
|
|
47
|
-
rel="noopener noreferrer"
|
|
48
|
-
>
|
|
49
|
-
<h2>
|
|
50
|
-
Docs <span>-></span>
|
|
51
|
-
</h2>
|
|
52
|
-
<p>Find in-depth information about Next.js features and API.</p>
|
|
53
|
-
</a>
|
|
54
|
-
|
|
48
|
+
</main>
|
|
49
|
+
<footer className={styles.footer}>
|
|
55
50
|
<a
|
|
56
51
|
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
57
|
-
className={styles.card}
|
|
58
52
|
target="_blank"
|
|
59
53
|
rel="noopener noreferrer"
|
|
60
54
|
>
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
55
|
+
<Image
|
|
56
|
+
aria-hidden
|
|
57
|
+
src="https://nextjs.org/icons/file.svg"
|
|
58
|
+
alt="File icon"
|
|
59
|
+
width={16}
|
|
60
|
+
height={16}
|
|
61
|
+
/>
|
|
62
|
+
Learn
|
|
65
63
|
</a>
|
|
66
|
-
|
|
67
64
|
<a
|
|
68
65
|
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
69
|
-
className={styles.card}
|
|
70
66
|
target="_blank"
|
|
71
67
|
rel="noopener noreferrer"
|
|
72
68
|
>
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
<Image
|
|
70
|
+
aria-hidden
|
|
71
|
+
src="https://nextjs.org/icons/window.svg"
|
|
72
|
+
alt="Window icon"
|
|
73
|
+
width={16}
|
|
74
|
+
height={16}
|
|
75
|
+
/>
|
|
76
|
+
Examples
|
|
77
77
|
</a>
|
|
78
|
-
|
|
79
78
|
<a
|
|
80
|
-
href="https://
|
|
81
|
-
className={styles.card}
|
|
79
|
+
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
82
80
|
target="_blank"
|
|
83
81
|
rel="noopener noreferrer"
|
|
84
82
|
>
|
|
85
|
-
<
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
83
|
+
<Image
|
|
84
|
+
aria-hidden
|
|
85
|
+
src="https://nextjs.org/icons/globe.svg"
|
|
86
|
+
alt="Globe icon"
|
|
87
|
+
width={16}
|
|
88
|
+
height={16}
|
|
89
|
+
/>
|
|
90
|
+
Go to nextjs.org →
|
|
91
91
|
</a>
|
|
92
|
-
</
|
|
93
|
-
</
|
|
92
|
+
</footer>
|
|
93
|
+
</div>
|
|
94
94
|
);
|
|
95
95
|
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/// <reference types="next/image-types/global" />
|
|
3
3
|
|
|
4
4
|
// NOTE: This file should not be edited
|
|
5
|
-
// see https://nextjs.org/docs/
|
|
5
|
+
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
|
|
Binary file
|
|
Binary file
|
|
@@ -3,27 +3,21 @@
|
|
|
3
3
|
@tailwind utilities;
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--background-end-rgb: 255, 255, 255;
|
|
6
|
+
--background: #ffffff;
|
|
7
|
+
--foreground: #171717;
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
@media (prefers-color-scheme: dark) {
|
|
12
11
|
:root {
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--background-end-rgb: 0, 0, 0;
|
|
12
|
+
--background: #0a0a0a;
|
|
13
|
+
--foreground: #ededed;
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
body {
|
|
20
|
-
color:
|
|
21
|
-
background:
|
|
22
|
-
|
|
23
|
-
transparent,
|
|
24
|
-
rgb(var(--background-end-rgb))
|
|
25
|
-
)
|
|
26
|
-
rgb(var(--background-start-rgb));
|
|
18
|
+
color: var(--foreground);
|
|
19
|
+
background: var(--background);
|
|
20
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
@layer utilities {
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import localFont from "next/font/local";
|
|
2
2
|
import "./globals.css";
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
const geistSans = localFont({
|
|
5
|
+
src: "./fonts/GeistVF.woff",
|
|
6
|
+
variable: "--font-geist-sans",
|
|
7
|
+
weight: "100 900",
|
|
8
|
+
});
|
|
9
|
+
const geistMono = localFont({
|
|
10
|
+
src: "./fonts/GeistMonoVF.woff",
|
|
11
|
+
variable: "--font-geist-mono",
|
|
12
|
+
weight: "100 900",
|
|
13
|
+
});
|
|
5
14
|
|
|
6
15
|
export const metadata = {
|
|
7
16
|
title: "Create Next App",
|
|
@@ -11,7 +20,11 @@ export const metadata = {
|
|
|
11
20
|
export default function RootLayout({ children }) {
|
|
12
21
|
return (
|
|
13
22
|
<html lang="en">
|
|
14
|
-
<body
|
|
23
|
+
<body
|
|
24
|
+
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
25
|
+
>
|
|
26
|
+
{children}
|
|
27
|
+
</body>
|
|
15
28
|
</html>
|
|
16
29
|
);
|
|
17
30
|
}
|