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
|
@@ -2,112 +2,100 @@ import Image from "next/image";
|
|
|
2
2
|
|
|
3
3
|
export default function Home() {
|
|
4
4
|
return (
|
|
5
|
-
<
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
|
|
6
|
+
<main className="flex flex-col gap-8 row-start-2 items-center sm:items-start">
|
|
7
|
+
<Image
|
|
8
|
+
className="dark:invert"
|
|
9
|
+
src="https://nextjs.org/icons/next.svg"
|
|
10
|
+
alt="Next.js logo"
|
|
11
|
+
width={180}
|
|
12
|
+
height={38}
|
|
13
|
+
priority
|
|
14
|
+
/>
|
|
15
|
+
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)]">
|
|
16
|
+
<li className="mb-2">
|
|
17
|
+
Get started by editing{" "}
|
|
18
|
+
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold">
|
|
19
|
+
app/page.js
|
|
20
|
+
</code>
|
|
21
|
+
.
|
|
22
|
+
</li>
|
|
23
|
+
<li>Save and see your changes instantly.</li>
|
|
24
|
+
</ol>
|
|
25
|
+
|
|
26
|
+
<div className="flex gap-4 items-center flex-col sm:flex-row">
|
|
12
27
|
<a
|
|
13
|
-
className="
|
|
14
|
-
href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
28
|
+
className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5"
|
|
29
|
+
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
15
30
|
target="_blank"
|
|
16
31
|
rel="noopener noreferrer"
|
|
17
32
|
>
|
|
18
|
-
By{" "}
|
|
19
33
|
<Image
|
|
20
|
-
src="/vercel.svg"
|
|
21
|
-
alt="Vercel Logo"
|
|
22
34
|
className="dark:invert"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
src="https://nextjs.org/icons/vercel.svg"
|
|
36
|
+
alt="Vercel logomark"
|
|
37
|
+
width={20}
|
|
38
|
+
height={20}
|
|
26
39
|
/>
|
|
40
|
+
Deploy now
|
|
41
|
+
</a>
|
|
42
|
+
<a
|
|
43
|
+
className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:min-w-44"
|
|
44
|
+
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
45
|
+
target="_blank"
|
|
46
|
+
rel="noopener noreferrer"
|
|
47
|
+
>
|
|
48
|
+
Read our docs
|
|
27
49
|
</a>
|
|
28
50
|
</div>
|
|
29
|
-
</
|
|
30
|
-
|
|
31
|
-
<div className="relative flex place-items-center before:absolute before:h-[300px] before:w-full sm:before:w-[480px] before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-full sm:after:w-[240px] after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40 before:lg:h-[360px] z-[-1]">
|
|
32
|
-
<Image
|
|
33
|
-
className="relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert"
|
|
34
|
-
src="/next.svg"
|
|
35
|
-
alt="Next.js Logo"
|
|
36
|
-
width={180}
|
|
37
|
-
height={37}
|
|
38
|
-
priority
|
|
39
|
-
/>
|
|
40
|
-
</div>
|
|
41
|
-
|
|
42
|
-
<div className="mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left">
|
|
43
|
-
<a
|
|
44
|
-
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
45
|
-
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
|
46
|
-
target="_blank"
|
|
47
|
-
rel="noopener noreferrer"
|
|
48
|
-
>
|
|
49
|
-
<h2 className={`mb-3 text-2xl font-semibold`}>
|
|
50
|
-
Docs{" "}
|
|
51
|
-
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
|
52
|
-
->
|
|
53
|
-
</span>
|
|
54
|
-
</h2>
|
|
55
|
-
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
|
|
56
|
-
Find in-depth information about Next.js features and API.
|
|
57
|
-
</p>
|
|
58
|
-
</a>
|
|
59
|
-
|
|
51
|
+
</main>
|
|
52
|
+
<footer className="row-start-3 flex gap-6 flex-wrap items-center justify-center">
|
|
60
53
|
<a
|
|
54
|
+
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
|
61
55
|
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
62
|
-
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800 hover:dark:bg-opacity-30"
|
|
63
56
|
target="_blank"
|
|
64
57
|
rel="noopener noreferrer"
|
|
65
58
|
>
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</p>
|
|
59
|
+
<Image
|
|
60
|
+
aria-hidden
|
|
61
|
+
src="https://nextjs.org/icons/file.svg"
|
|
62
|
+
alt="File icon"
|
|
63
|
+
width={16}
|
|
64
|
+
height={16}
|
|
65
|
+
/>
|
|
66
|
+
Learn
|
|
75
67
|
</a>
|
|
76
|
-
|
|
77
68
|
<a
|
|
78
|
-
|
|
79
|
-
|
|
69
|
+
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
|
70
|
+
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
80
71
|
target="_blank"
|
|
81
72
|
rel="noopener noreferrer"
|
|
82
73
|
>
|
|
83
|
-
<
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
</p>
|
|
74
|
+
<Image
|
|
75
|
+
aria-hidden
|
|
76
|
+
src="https://nextjs.org/icons/window.svg"
|
|
77
|
+
alt="Window icon"
|
|
78
|
+
width={16}
|
|
79
|
+
height={16}
|
|
80
|
+
/>
|
|
81
|
+
Examples
|
|
92
82
|
</a>
|
|
93
|
-
|
|
94
83
|
<a
|
|
95
|
-
|
|
96
|
-
|
|
84
|
+
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
|
85
|
+
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
97
86
|
target="_blank"
|
|
98
87
|
rel="noopener noreferrer"
|
|
99
88
|
>
|
|
100
|
-
<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</p>
|
|
89
|
+
<Image
|
|
90
|
+
aria-hidden
|
|
91
|
+
src="https://nextjs.org/icons/globe.svg"
|
|
92
|
+
alt="Globe icon"
|
|
93
|
+
width={16}
|
|
94
|
+
height={16}
|
|
95
|
+
/>
|
|
96
|
+
Go to nextjs.org →
|
|
109
97
|
</a>
|
|
110
|
-
</
|
|
111
|
-
</
|
|
98
|
+
</footer>
|
|
99
|
+
</div>
|
|
112
100
|
);
|
|
113
101
|
}
|
|
@@ -7,10 +7,9 @@ module.exports = {
|
|
|
7
7
|
],
|
|
8
8
|
theme: {
|
|
9
9
|
extend: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
|
|
10
|
+
colors: {
|
|
11
|
+
background: "var(--background)",
|
|
12
|
+
foreground: "var(--foreground)",
|
|
14
13
|
},
|
|
15
14
|
},
|
|
16
15
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
This is a [Next.js](https://nextjs.org
|
|
1
|
+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
|
|
2
2
|
|
|
3
3
|
## Getting Started
|
|
4
4
|
|
|
@@ -18,7 +18,7 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the
|
|
|
18
18
|
|
|
19
19
|
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
|
20
20
|
|
|
21
|
-
This project uses [`next/font`](https://nextjs.org/docs/
|
|
21
|
+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
|
|
22
22
|
|
|
23
23
|
## Learn More
|
|
24
24
|
|
|
@@ -27,10 +27,10 @@ To learn more about Next.js, take a look at the following resources:
|
|
|
27
27
|
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
|
28
28
|
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
|
29
29
|
|
|
30
|
-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js
|
|
30
|
+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
|
31
31
|
|
|
32
32
|
## Deploy on Vercel
|
|
33
33
|
|
|
34
34
|
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
|
35
35
|
|
|
36
|
-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/
|
|
36
|
+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|
|
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,8 +1,17 @@
|
|
|
1
1
|
import type { Metadata } from "next";
|
|
2
|
-
import
|
|
2
|
+
import localFont from "next/font/local";
|
|
3
3
|
import "./globals.css";
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const geistSans = localFont({
|
|
6
|
+
src: "./fonts/GeistVF.woff",
|
|
7
|
+
variable: "--font-geist-sans",
|
|
8
|
+
weight: "100 900",
|
|
9
|
+
});
|
|
10
|
+
const geistMono = localFont({
|
|
11
|
+
src: "./fonts/GeistMonoVF.woff",
|
|
12
|
+
variable: "--font-geist-mono",
|
|
13
|
+
weight: "100 900",
|
|
14
|
+
});
|
|
6
15
|
|
|
7
16
|
export const metadata: Metadata = {
|
|
8
17
|
title: "Create Next App",
|
|
@@ -16,7 +25,11 @@ export default function RootLayout({
|
|
|
16
25
|
}>) {
|
|
17
26
|
return (
|
|
18
27
|
<html lang="en">
|
|
19
|
-
<body
|
|
28
|
+
<body
|
|
29
|
+
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
30
|
+
>
|
|
31
|
+
{children}
|
|
32
|
+
</body>
|
|
20
33
|
</html>
|
|
21
34
|
);
|
|
22
35
|
}
|
|
@@ -2,112 +2,100 @@ import Image from "next/image";
|
|
|
2
2
|
|
|
3
3
|
export default function Home() {
|
|
4
4
|
return (
|
|
5
|
-
<
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
|
|
6
|
+
<main className="flex flex-col gap-8 row-start-2 items-center sm:items-start">
|
|
7
|
+
<Image
|
|
8
|
+
className="dark:invert"
|
|
9
|
+
src="https://nextjs.org/icons/next.svg"
|
|
10
|
+
alt="Next.js logo"
|
|
11
|
+
width={180}
|
|
12
|
+
height={38}
|
|
13
|
+
priority
|
|
14
|
+
/>
|
|
15
|
+
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)]">
|
|
16
|
+
<li className="mb-2">
|
|
17
|
+
Get started by editing{" "}
|
|
18
|
+
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold">
|
|
19
|
+
app/page.tsx
|
|
20
|
+
</code>
|
|
21
|
+
.
|
|
22
|
+
</li>
|
|
23
|
+
<li>Save and see your changes instantly.</li>
|
|
24
|
+
</ol>
|
|
25
|
+
|
|
26
|
+
<div className="flex gap-4 items-center flex-col sm:flex-row">
|
|
12
27
|
<a
|
|
13
|
-
className="
|
|
14
|
-
href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
28
|
+
className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5"
|
|
29
|
+
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
15
30
|
target="_blank"
|
|
16
31
|
rel="noopener noreferrer"
|
|
17
32
|
>
|
|
18
|
-
By{" "}
|
|
19
33
|
<Image
|
|
20
|
-
src="/vercel.svg"
|
|
21
|
-
alt="Vercel Logo"
|
|
22
34
|
className="dark:invert"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
src="https://nextjs.org/icons/vercel.svg"
|
|
36
|
+
alt="Vercel logomark"
|
|
37
|
+
width={20}
|
|
38
|
+
height={20}
|
|
26
39
|
/>
|
|
40
|
+
Deploy now
|
|
41
|
+
</a>
|
|
42
|
+
<a
|
|
43
|
+
className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:min-w-44"
|
|
44
|
+
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
45
|
+
target="_blank"
|
|
46
|
+
rel="noopener noreferrer"
|
|
47
|
+
>
|
|
48
|
+
Read our docs
|
|
27
49
|
</a>
|
|
28
50
|
</div>
|
|
29
|
-
</
|
|
30
|
-
|
|
31
|
-
<div className="relative z-[-1] flex place-items-center before:absolute before:h-[300px] before:w-full before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-full after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40 sm:before:w-[480px] sm:after:w-[240px] before:lg:h-[360px]">
|
|
32
|
-
<Image
|
|
33
|
-
className="relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert"
|
|
34
|
-
src="/next.svg"
|
|
35
|
-
alt="Next.js Logo"
|
|
36
|
-
width={180}
|
|
37
|
-
height={37}
|
|
38
|
-
priority
|
|
39
|
-
/>
|
|
40
|
-
</div>
|
|
41
|
-
|
|
42
|
-
<div className="mb-32 grid text-center lg:mb-0 lg:w-full lg:max-w-5xl lg:grid-cols-4 lg:text-left">
|
|
43
|
-
<a
|
|
44
|
-
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
|
45
|
-
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
|
46
|
-
target="_blank"
|
|
47
|
-
rel="noopener noreferrer"
|
|
48
|
-
>
|
|
49
|
-
<h2 className="mb-3 text-2xl font-semibold">
|
|
50
|
-
Docs{" "}
|
|
51
|
-
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
|
52
|
-
->
|
|
53
|
-
</span>
|
|
54
|
-
</h2>
|
|
55
|
-
<p className="m-0 max-w-[30ch] text-sm opacity-50">
|
|
56
|
-
Find in-depth information about Next.js features and API.
|
|
57
|
-
</p>
|
|
58
|
-
</a>
|
|
59
|
-
|
|
51
|
+
</main>
|
|
52
|
+
<footer className="row-start-3 flex gap-6 flex-wrap items-center justify-center">
|
|
60
53
|
<a
|
|
54
|
+
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
|
61
55
|
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
62
|
-
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
|
63
56
|
target="_blank"
|
|
64
57
|
rel="noopener noreferrer"
|
|
65
58
|
>
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</p>
|
|
59
|
+
<Image
|
|
60
|
+
aria-hidden
|
|
61
|
+
src="https://nextjs.org/icons/file.svg"
|
|
62
|
+
alt="File icon"
|
|
63
|
+
width={16}
|
|
64
|
+
height={16}
|
|
65
|
+
/>
|
|
66
|
+
Learn
|
|
75
67
|
</a>
|
|
76
|
-
|
|
77
68
|
<a
|
|
78
|
-
|
|
79
|
-
|
|
69
|
+
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
|
70
|
+
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
80
71
|
target="_blank"
|
|
81
72
|
rel="noopener noreferrer"
|
|
82
73
|
>
|
|
83
|
-
<
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
</p>
|
|
74
|
+
<Image
|
|
75
|
+
aria-hidden
|
|
76
|
+
src="https://nextjs.org/icons/window.svg"
|
|
77
|
+
alt="Window icon"
|
|
78
|
+
width={16}
|
|
79
|
+
height={16}
|
|
80
|
+
/>
|
|
81
|
+
Examples
|
|
92
82
|
</a>
|
|
93
|
-
|
|
94
83
|
<a
|
|
95
|
-
|
|
96
|
-
|
|
84
|
+
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
|
85
|
+
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
97
86
|
target="_blank"
|
|
98
87
|
rel="noopener noreferrer"
|
|
99
88
|
>
|
|
100
|
-
<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</p>
|
|
89
|
+
<Image
|
|
90
|
+
aria-hidden
|
|
91
|
+
src="https://nextjs.org/icons/globe.svg"
|
|
92
|
+
alt="Globe icon"
|
|
93
|
+
width={16}
|
|
94
|
+
height={16}
|
|
95
|
+
/>
|
|
96
|
+
Go to nextjs.org →
|
|
109
97
|
</a>
|
|
110
|
-
</
|
|
111
|
-
</
|
|
98
|
+
</footer>
|
|
99
|
+
</div>
|
|
112
100
|
);
|
|
113
101
|
}
|
|
@@ -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.
|
|
@@ -8,10 +8,9 @@ const config: Config = {
|
|
|
8
8
|
],
|
|
9
9
|
theme: {
|
|
10
10
|
extend: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
|
|
11
|
+
colors: {
|
|
12
|
+
background: "var(--background)",
|
|
13
|
+
foreground: "var(--foreground)",
|
|
15
14
|
},
|
|
16
15
|
},
|
|
17
16
|
},
|
|
Binary file
|
|
Binary file
|