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.
Files changed (75) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/templates/app/js/README-template.md +4 -4
  3. package/dist/templates/app/js/app/fonts/GeistMonoVF.woff +0 -0
  4. package/dist/templates/app/js/app/fonts/GeistVF.woff +0 -0
  5. package/dist/templates/app/js/app/globals.css +15 -80
  6. package/dist/templates/app/js/app/layout.js +14 -3
  7. package/dist/templates/app/js/app/page.js +63 -63
  8. package/dist/templates/app/js/app/page.module.css +107 -172
  9. package/dist/templates/app/ts/README-template.md +4 -4
  10. package/dist/templates/app/ts/app/fonts/GeistMonoVF.woff +0 -0
  11. package/dist/templates/app/ts/app/fonts/GeistVF.woff +0 -0
  12. package/dist/templates/app/ts/app/globals.css +15 -80
  13. package/dist/templates/app/ts/app/layout.tsx +14 -3
  14. package/dist/templates/app/ts/app/page.module.css +107 -172
  15. package/dist/templates/app/ts/app/page.tsx +63 -63
  16. package/dist/templates/app/ts/eslintrc.json +1 -1
  17. package/dist/templates/app/ts/next-env.d.ts +1 -1
  18. package/dist/templates/app-tw/js/app/fonts/GeistMonoVF.woff +0 -0
  19. package/dist/templates/app-tw/js/app/fonts/GeistVF.woff +0 -0
  20. package/dist/templates/app-tw/js/app/globals.css +7 -13
  21. package/dist/templates/app-tw/js/app/layout.js +16 -3
  22. package/dist/templates/app-tw/js/app/page.js +70 -82
  23. package/dist/templates/app-tw/js/tailwind.config.js +3 -4
  24. package/dist/templates/app-tw/ts/README-template.md +4 -4
  25. package/dist/templates/app-tw/ts/app/fonts/GeistMonoVF.woff +0 -0
  26. package/dist/templates/app-tw/ts/app/fonts/GeistVF.woff +0 -0
  27. package/dist/templates/app-tw/ts/app/globals.css +7 -13
  28. package/dist/templates/app-tw/ts/app/layout.tsx +16 -3
  29. package/dist/templates/app-tw/ts/app/page.tsx +70 -82
  30. package/dist/templates/app-tw/ts/eslintrc.json +1 -1
  31. package/dist/templates/app-tw/ts/next-env.d.ts +1 -1
  32. package/dist/templates/app-tw/ts/tailwind.config.ts +3 -4
  33. package/dist/templates/default/js/pages/fonts/GeistMonoVF.woff +0 -0
  34. package/dist/templates/default/js/pages/fonts/GeistVF.woff +0 -0
  35. package/dist/templates/default/js/pages/index.js +76 -72
  36. package/dist/templates/default/js/styles/Home.module.css +107 -171
  37. package/dist/templates/default/js/styles/globals.css +15 -80
  38. package/dist/templates/default/ts/eslintrc.json +1 -1
  39. package/dist/templates/default/ts/next-env.d.ts +1 -1
  40. package/dist/templates/default/ts/pages/fonts/GeistMonoVF.woff +0 -0
  41. package/dist/templates/default/ts/pages/fonts/GeistVF.woff +0 -0
  42. package/dist/templates/default/ts/pages/index.tsx +76 -72
  43. package/dist/templates/default/ts/styles/Home.module.css +107 -171
  44. package/dist/templates/default/ts/styles/globals.css +15 -80
  45. package/dist/templates/default-tw/js/pages/_document.js +1 -1
  46. package/dist/templates/default-tw/js/pages/fonts/GeistMonoVF.woff +0 -0
  47. package/dist/templates/default-tw/js/pages/fonts/GeistVF.woff +0 -0
  48. package/dist/templates/default-tw/js/pages/index.js +81 -84
  49. package/dist/templates/default-tw/js/styles/globals.css +7 -13
  50. package/dist/templates/default-tw/js/tailwind.config.js +3 -4
  51. package/dist/templates/default-tw/ts/eslintrc.json +1 -1
  52. package/dist/templates/default-tw/ts/next-env.d.ts +1 -1
  53. package/dist/templates/default-tw/ts/pages/_document.tsx +1 -1
  54. package/dist/templates/default-tw/ts/pages/fonts/GeistMonoVF.woff +0 -0
  55. package/dist/templates/default-tw/ts/pages/fonts/GeistVF.woff +0 -0
  56. package/dist/templates/default-tw/ts/pages/index.tsx +81 -84
  57. package/dist/templates/default-tw/ts/styles/globals.css +7 -13
  58. package/dist/templates/default-tw/ts/tailwind.config.ts +3 -4
  59. package/package.json +1 -1
  60. package/dist/templates/app/js/public/next.svg +0 -1
  61. package/dist/templates/app/js/public/vercel.svg +0 -1
  62. package/dist/templates/app/ts/public/next.svg +0 -1
  63. package/dist/templates/app/ts/public/vercel.svg +0 -1
  64. package/dist/templates/app-tw/js/public/next.svg +0 -1
  65. package/dist/templates/app-tw/js/public/vercel.svg +0 -1
  66. package/dist/templates/app-tw/ts/public/next.svg +0 -1
  67. package/dist/templates/app-tw/ts/public/vercel.svg +0 -1
  68. package/dist/templates/default/js/public/next.svg +0 -1
  69. package/dist/templates/default/js/public/vercel.svg +0 -1
  70. package/dist/templates/default/ts/public/next.svg +0 -1
  71. package/dist/templates/default/ts/public/vercel.svg +0 -1
  72. package/dist/templates/default-tw/js/public/next.svg +0 -1
  73. package/dist/templates/default-tw/js/public/vercel.svg +0 -1
  74. package/dist/templates/default-tw/ts/public/next.svg +0 -1
  75. 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
- <main className="flex min-h-screen flex-col items-center justify-between p-24">
6
- <div className="z-10 max-w-5xl w-full items-center justify-between font-mono text-sm lg:flex">
7
- <p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
8
- Get started by editing&nbsp;
9
- <code className="font-mono font-bold">app/page.js</code>
10
- </p>
11
- <div className="fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:h-auto lg:w-auto lg:bg-none">
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="pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0"
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
- width={100}
24
- height={24}
25
- priority
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
- </div>
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
- -&gt;
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
- <h2 className={`mb-3 text-2xl font-semibold`}>
67
- Learn{" "}
68
- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
69
- -&gt;
70
- </span>
71
- </h2>
72
- <p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
73
- Learn about Next.js in an interactive course with&nbsp;quizzes!
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
- href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
79
- 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"
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
- <h2 className={`mb-3 text-2xl font-semibold`}>
84
- Templates{" "}
85
- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
86
- -&gt;
87
- </span>
88
- </h2>
89
- <p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
90
- Explore starter templates for Next.js.
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
- href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
96
- 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"
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
- <h2 className={`mb-3 text-2xl font-semibold`}>
101
- Deploy{" "}
102
- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
103
- -&gt;
104
- </span>
105
- </h2>
106
- <p className={`m-0 max-w-[30ch] text-sm opacity-50 text-balance`}>
107
- Instantly deploy your Next.js site to a shareable URL with Vercel.
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
- </div>
111
- </main>
98
+ </footer>
99
+ </div>
112
100
  );
113
101
  }
@@ -7,10 +7,9 @@ module.exports = {
7
7
  ],
8
8
  theme: {
9
9
  extend: {
10
- backgroundImage: {
11
- "gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
12
- "gradient-conic":
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/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
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/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
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/) - your feedback and contributions are welcome!
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/deployment) for more details.
36
+ Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
@@ -3,27 +3,21 @@
3
3
  @tailwind utilities;
4
4
 
5
5
  :root {
6
- --foreground-rgb: 0, 0, 0;
7
- --background-start-rgb: 214, 219, 220;
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
- --foreground-rgb: 255, 255, 255;
14
- --background-start-rgb: 0, 0, 0;
15
- --background-end-rgb: 0, 0, 0;
12
+ --background: #0a0a0a;
13
+ --foreground: #ededed;
16
14
  }
17
15
  }
18
16
 
19
17
  body {
20
- color: rgb(var(--foreground-rgb));
21
- background: linear-gradient(
22
- to bottom,
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 { Inter } from "next/font/google";
2
+ import localFont from "next/font/local";
3
3
  import "./globals.css";
4
4
 
5
- const inter = Inter({ subsets: ["latin"] });
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 className={inter.className}>{children}</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
- <main className="flex min-h-screen flex-col items-center justify-between p-24">
6
- <div className="z-10 w-full max-w-5xl items-center justify-between font-mono text-sm lg:flex">
7
- <p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
8
- Get started by editing&nbsp;
9
- <code className="font-mono font-bold">app/page.tsx</code>
10
- </p>
11
- <div className="fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:size-auto lg:bg-none">
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="pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0"
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
- width={100}
24
- height={24}
25
- priority
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
- </div>
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
- -&gt;
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
- <h2 className="mb-3 text-2xl font-semibold">
67
- Learn{" "}
68
- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
69
- -&gt;
70
- </span>
71
- </h2>
72
- <p className="m-0 max-w-[30ch] text-sm opacity-50">
73
- Learn about Next.js in an interactive course with&nbsp;quizzes!
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
- href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
79
- 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"
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
- <h2 className="mb-3 text-2xl font-semibold">
84
- Templates{" "}
85
- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
86
- -&gt;
87
- </span>
88
- </h2>
89
- <p className="m-0 max-w-[30ch] text-sm opacity-50">
90
- Explore starter templates for Next.js.
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
- href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
96
- 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"
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
- <h2 className="mb-3 text-2xl font-semibold">
101
- Deploy{" "}
102
- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
103
- -&gt;
104
- </span>
105
- </h2>
106
- <p className="m-0 max-w-[30ch] text-balance text-sm opacity-50">
107
- Instantly deploy your Next.js site to a shareable URL with Vercel.
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
- </div>
111
- </main>
98
+ </footer>
99
+ </div>
112
100
  );
113
101
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "extends": "next/core-web-vitals"
2
+ "extends": ["next/core-web-vitals", "next/typescript"]
3
3
  }
@@ -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/basic-features/typescript for more information.
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
- backgroundImage: {
12
- "gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
13
- "gradient-conic":
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
  },