create-apppaaaul 2.0.9 → 2.0.10
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/README.md +20 -20
- package/dist/index.js +0 -0
- package/dist/index.js.map +1 -1
- package/dist/templates/nextjs-ts-clean/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-clean/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-clean/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-clean/project/README.md +15 -15
- package/dist/templates/nextjs-ts-clean/project/components.json +21 -0
- package/dist/templates/nextjs-ts-clean/project/next.config.mjs +13 -13
- package/dist/templates/nextjs-ts-clean/project/package.json +49 -47
- package/dist/templates/nextjs-ts-clean/project/postcss.config.js +3 -6
- package/dist/templates/nextjs-ts-clean/project/src/app/globals.css +228 -76
- package/dist/templates/nextjs-ts-clean/project/src/app/layout.tsx +26 -26
- package/dist/templates/nextjs-ts-clean/project/src/app/page.tsx +5 -5
- package/dist/templates/nextjs-ts-clean/project/src/components/ui/button.tsx +49 -49
- package/dist/templates/nextjs-ts-clean/project/src/lib/utils.ts +6 -6
- package/dist/templates/nextjs-ts-clean/project/tailwind.config.ts +94 -79
- package/dist/templates/nextjs-ts-clean/project/tsconfig.json +26 -26
- package/dist/templates/nextjs-ts-landing/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-landing/project/.eslintrc.cjs +101 -0
- package/dist/templates/nextjs-ts-landing/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-landing/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-landing-drizzle/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-landing-drizzle/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-landing-drizzle/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-landing-drizzle/project/README.md +15 -15
- package/dist/templates/nextjs-ts-landing-drizzle/project/components.json +20 -16
- package/dist/templates/nextjs-ts-landing-drizzle/project/drizzle.config.ts +11 -11
- package/dist/templates/nextjs-ts-landing-drizzle/project/next.config.mjs +10 -10
- package/dist/templates/nextjs-ts-landing-drizzle/project/package.json +58 -56
- package/dist/templates/nextjs-ts-landing-drizzle/project/postcss.config.js +3 -6
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/api/auth/[...nextauth]/route.ts +3 -3
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/globals.css +161 -47
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/layout.tsx +25 -20
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/page.tsx +5 -5
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/auth.ts +79 -79
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/components/ui/button.tsx +49 -49
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/db/index.ts +25 -25
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/db/schema.ts +93 -93
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/lib/utils.ts +6 -6
- package/dist/templates/nextjs-ts-landing-drizzle/project/tailwind.config.ts +80 -80
- package/dist/templates/nextjs-ts-landing-drizzle/project/tsconfig.json +27 -27
- package/dist/templates/nextjs-ts-landing-prisma/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-landing-prisma/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-landing-prisma/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-landing-prisma/project/README.md +15 -15
- package/dist/templates/nextjs-ts-landing-prisma/project/components.json +20 -16
- package/dist/templates/nextjs-ts-landing-prisma/project/next.config.mjs +10 -10
- package/dist/templates/nextjs-ts-landing-prisma/project/package.json +59 -57
- package/dist/templates/nextjs-ts-landing-prisma/project/postcss.config.mjs +3 -5
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/migrations/20250329125127_init/migration.sql +25 -0
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/migrations/migration_lock.toml +3 -0
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/schema.prisma +25 -0
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/api/auth/[...nextauth]/route.ts +3 -3
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/globals.css +205 -116
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/layout.tsx +26 -20
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/page.tsx +5 -5
- package/dist/templates/nextjs-ts-landing-prisma/project/src/auth.ts +31 -79
- package/dist/templates/nextjs-ts-landing-prisma/project/src/components/ui/button.tsx +49 -49
- package/dist/templates/nextjs-ts-landing-prisma/project/src/lib/db.ts +9 -11
- package/dist/templates/nextjs-ts-landing-prisma/project/src/lib/utils.ts +6 -6
- package/dist/templates/nextjs-ts-landing-prisma/project/tailwind.config.ts +80 -80
- package/dist/templates/nextjs-ts-landing-prisma/project/tsconfig.json +27 -27
- package/package.json +43 -43
- package/dist/templates/nextjs-ts-clean/project/pnpm-lock.yaml +0 -5463
- package/dist/templates/nextjs-ts-landing-drizzle/project/pnpm-lock.yaml +0 -6248
|
@@ -1,58 +1,60 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{name}}",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "
|
|
7
|
-
"build": "next build",
|
|
8
|
-
"start": "next start",
|
|
9
|
-
"lint": "next lint",
|
|
10
|
-
"db:push": "npx prisma db push"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@prisma
|
|
14
|
-
"@
|
|
15
|
-
"@
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"next
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"react
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"tailwindcss
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@types/
|
|
39
|
-
"@types/react
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"eslint
|
|
44
|
-
"eslint-config-
|
|
45
|
-
"eslint-
|
|
46
|
-
"eslint-plugin-
|
|
47
|
-
"eslint-plugin-
|
|
48
|
-
"eslint-plugin-
|
|
49
|
-
"eslint-plugin-react
|
|
50
|
-
"eslint-plugin-react-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"prettier
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "{{name}}",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "next dev --turbopack",
|
|
7
|
+
"build": "next build",
|
|
8
|
+
"start": "next start",
|
|
9
|
+
"lint": "next lint",
|
|
10
|
+
"db:push": "npx prisma generate &&npx prisma db push"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@auth/prisma-adapter": "^2.9.0",
|
|
14
|
+
"@prisma/client": "^6.6.0",
|
|
15
|
+
"@radix-ui/react-slot": "^1.2.0",
|
|
16
|
+
"@tailwindcss/postcss": "^4.1.4",
|
|
17
|
+
"autoprefixer": "^10.4.21",
|
|
18
|
+
"bcryptjs": "^3.0.2",
|
|
19
|
+
"class-variance-authority": "^0.7.1",
|
|
20
|
+
"clsx": "^2.1.1",
|
|
21
|
+
"dotenv": "^16.5.0",
|
|
22
|
+
"lucide-react": "^0.503.0",
|
|
23
|
+
"next": "^15.3.1",
|
|
24
|
+
"next-auth": "4.24.11",
|
|
25
|
+
"postcss": "^8.5.3",
|
|
26
|
+
"postgres": "^3.4.5",
|
|
27
|
+
"react": "^19.1.0",
|
|
28
|
+
"react-dom": "^19.1.0",
|
|
29
|
+
"sonner": "^2.0.3",
|
|
30
|
+
"tailwind-merge": "^3.2.0",
|
|
31
|
+
"tailwindcss": "^4.1.4",
|
|
32
|
+
"tailwindcss-animate": "^1.0.7",
|
|
33
|
+
"zod": "^3.24.3"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@eslint/compat": "^1.2.8",
|
|
37
|
+
"@next/eslint-plugin-next": "15.3.1",
|
|
38
|
+
"@types/node": "^22.15.3",
|
|
39
|
+
"@types/react": "^19.1.2",
|
|
40
|
+
"@types/react-dom": "^19.1.2",
|
|
41
|
+
"@vercel/style-guide": "^6.0.0",
|
|
42
|
+
"babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
|
|
43
|
+
"eslint": "^9.25.1",
|
|
44
|
+
"eslint-config-next": "^15.3.1",
|
|
45
|
+
"eslint-config-prettier": "^10.1.2",
|
|
46
|
+
"eslint-plugin-import": "^2.31.0",
|
|
47
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
48
|
+
"eslint-plugin-prettier": "^5.2.6",
|
|
49
|
+
"eslint-plugin-react": "^7.37.5",
|
|
50
|
+
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
|
|
51
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
52
|
+
"globals": "^16.0.0",
|
|
53
|
+
"prettier": "^3.5.3",
|
|
54
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
55
|
+
"prisma": "^6.6.0",
|
|
56
|
+
"tw-animate-css": "^1.2.8",
|
|
57
|
+
"typescript": "^5.8.3",
|
|
58
|
+
"typescript-eslint": "^8.31.0"
|
|
59
|
+
}
|
|
58
60
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
-- CreateTable
|
|
2
|
+
CREATE TABLE "Post" (
|
|
3
|
+
"id" SERIAL NOT NULL,
|
|
4
|
+
"title" TEXT NOT NULL,
|
|
5
|
+
"content" TEXT,
|
|
6
|
+
"published" BOOLEAN NOT NULL DEFAULT false,
|
|
7
|
+
"authorId" INTEGER,
|
|
8
|
+
|
|
9
|
+
CONSTRAINT "Post_pkey" PRIMARY KEY ("id")
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
-- CreateTable
|
|
13
|
+
CREATE TABLE "User" (
|
|
14
|
+
"id" SERIAL NOT NULL,
|
|
15
|
+
"email" TEXT NOT NULL,
|
|
16
|
+
"name" TEXT,
|
|
17
|
+
|
|
18
|
+
CONSTRAINT "User_pkey" PRIMARY KEY ("id")
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
-- CreateIndex
|
|
22
|
+
CREATE UNIQUE INDEX "User_email_key" ON "User"("email");
|
|
23
|
+
|
|
24
|
+
-- AddForeignKey
|
|
25
|
+
ALTER TABLE "Post" ADD CONSTRAINT "Post_authorId_fkey" FOREIGN KEY ("authorId") REFERENCES "User"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
datasource db {
|
|
2
|
+
provider = "postgresql"
|
|
3
|
+
url = env("DATABASE_URL")
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
generator client {
|
|
7
|
+
provider = "prisma-client-js"
|
|
8
|
+
output = "./generated"
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
model Post {
|
|
12
|
+
id Int @id @default(autoincrement())
|
|
13
|
+
title String
|
|
14
|
+
content String?
|
|
15
|
+
published Boolean @default(false)
|
|
16
|
+
author User? @relation(fields: [authorId], references: [id])
|
|
17
|
+
authorId Int?
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
model User {
|
|
21
|
+
id Int @id @default(autoincrement())
|
|
22
|
+
email String @unique
|
|
23
|
+
name String?
|
|
24
|
+
posts Post[]
|
|
25
|
+
}
|
package/dist/templates/nextjs-ts-landing-prisma/project/src/app/api/auth/[...nextauth]/route.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { handlers } from "@/auth";
|
|
2
|
-
|
|
3
|
-
export const { GET, POST } = handlers;
|
|
1
|
+
import { handlers } from "@/auth";
|
|
2
|
+
|
|
3
|
+
export const { GET, POST } = handlers;
|
|
@@ -1,117 +1,206 @@
|
|
|
1
|
-
@import "tailwindcss";
|
|
2
|
-
|
|
3
|
-
@
|
|
4
|
-
|
|
5
|
-
:root {
|
|
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
|
-
--chart-
|
|
31
|
-
--chart-
|
|
32
|
-
--chart-
|
|
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
|
-
--color-
|
|
91
|
-
--color-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
--color-
|
|
95
|
-
|
|
96
|
-
--color-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
--color-
|
|
100
|
-
--color-
|
|
101
|
-
--color-
|
|
102
|
-
--color-
|
|
103
|
-
|
|
104
|
-
--
|
|
105
|
-
--
|
|
106
|
-
--
|
|
107
|
-
--
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
@custom-variant dark (&:is(.dark *));
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
|
|
7
|
+
--card: oklch(1 0 0);
|
|
8
|
+
--card-foreground: oklch(0.145 0 0);
|
|
9
|
+
|
|
10
|
+
--popover: oklch(1 0 0);
|
|
11
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
12
|
+
|
|
13
|
+
--primary: oklch(0.205 0 0);
|
|
14
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
15
|
+
--secondary: oklch(0.97 0 0);
|
|
16
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
17
|
+
--muted: oklch(0.97 0 0);
|
|
18
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
19
|
+
--accent: oklch(0.97 0 0);
|
|
20
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
21
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
22
|
+
--destructive-foreground: hsl(0 0% 98%);
|
|
23
|
+
|
|
24
|
+
--border: oklch(0.922 0 0);
|
|
25
|
+
--input: oklch(0.922 0 0);
|
|
26
|
+
--ring: oklch(0.708 0 0);
|
|
27
|
+
|
|
28
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
29
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
30
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
31
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
32
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
33
|
+
|
|
34
|
+
--radius: 0.625rem;
|
|
35
|
+
|
|
36
|
+
--background: oklch(1 0 0);
|
|
37
|
+
|
|
38
|
+
--foreground: oklch(0.145 0 0);
|
|
39
|
+
|
|
40
|
+
--sidebar: oklch(0.985 0 0);
|
|
41
|
+
|
|
42
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
43
|
+
|
|
44
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
45
|
+
|
|
46
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
47
|
+
|
|
48
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
49
|
+
|
|
50
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
51
|
+
|
|
52
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
53
|
+
|
|
54
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (prefers-color-scheme: dark) {
|
|
58
|
+
:root {
|
|
59
|
+
|
|
60
|
+
--card: hsl(240 10% 3.9%);
|
|
61
|
+
--card-foreground: hsl(0 0% 98%);
|
|
62
|
+
|
|
63
|
+
--popover: hsl(240 10% 3.9%);
|
|
64
|
+
--popover-foreground: hsl(0 0% 98%);
|
|
65
|
+
|
|
66
|
+
--primary: hsl(0 0% 98%);
|
|
67
|
+
--primary-foreground: hsl(240 5.9% 10%);
|
|
68
|
+
--secondary: hsl(240 3.7% 15.9%);
|
|
69
|
+
--secondary-foreground: hsl(0 0% 98%);
|
|
70
|
+
--muted: hsl(240 3.7% 15.9%);
|
|
71
|
+
--muted-foreground: hsl(240 5% 64.9%);
|
|
72
|
+
--accent: hsl(240 3.7% 15.9%);
|
|
73
|
+
--accent-foreground: hsl(0 0% 98%);
|
|
74
|
+
--destructive: hsl(0 62.8% 30.6%);
|
|
75
|
+
--destructive-foreground: hsl(0 0% 98%);
|
|
76
|
+
|
|
77
|
+
--border: hsl(240 3.7% 15.9%);
|
|
78
|
+
--input: hsl(240 3.7% 15.9%);
|
|
79
|
+
--ring: hsl(240 4.9% 83.9%);
|
|
80
|
+
|
|
81
|
+
--chart-1: hsl(220 70% 50%);
|
|
82
|
+
--chart-2: hsl(160 60% 45%);
|
|
83
|
+
--chart-3: hsl(30 80% 55%);
|
|
84
|
+
--chart-4: hsl(280 65% 60%);
|
|
85
|
+
--chart-5: hsl(340 75% 55%);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@theme inline {
|
|
90
|
+
--color-background: var(--background);
|
|
91
|
+
--color-foreground: var(--foreground);
|
|
92
|
+
|
|
93
|
+
--color-card: var(--card);
|
|
94
|
+
--color-card-foreground: var(--card-foreground);
|
|
95
|
+
|
|
96
|
+
--color-popover: var(--popover);
|
|
97
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
98
|
+
|
|
99
|
+
--color-primary: var(--primary);
|
|
100
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
101
|
+
--color-secondary: var(--secondary);
|
|
102
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
103
|
+
--color-muted: var(--muted);
|
|
104
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
105
|
+
--color-accent: var(--accent);
|
|
106
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
107
|
+
--color-destructive: var(--destructive);
|
|
108
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
109
|
+
|
|
110
|
+
--color-border: var(--border);
|
|
111
|
+
--color-input: var(--input);
|
|
112
|
+
--color-ring: var(--ring);
|
|
113
|
+
|
|
114
|
+
--color-chart-1: var(--chart-1);
|
|
115
|
+
--color-chart-2: var(--chart-2);
|
|
116
|
+
--color-chart-3: var(--chart-3);
|
|
117
|
+
--color-chart-4: var(--chart-4);
|
|
118
|
+
--color-chart-5: var(--chart-5);
|
|
119
|
+
|
|
120
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
121
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
122
|
+
--radius-lg: var(--radius);
|
|
123
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
124
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
125
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
126
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
127
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
128
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
129
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
130
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
131
|
+
--color-sidebar: var(--sidebar);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@layer base {
|
|
135
|
+
* {
|
|
136
|
+
@apply border-border outline-ring/50;
|
|
137
|
+
}
|
|
138
|
+
body {
|
|
139
|
+
@apply bg-background text-foreground;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.dark {
|
|
144
|
+
|
|
145
|
+
--background: oklch(0.145 0 0);
|
|
146
|
+
|
|
147
|
+
--foreground: oklch(0.985 0 0);
|
|
148
|
+
|
|
149
|
+
--card: oklch(0.205 0 0);
|
|
150
|
+
|
|
151
|
+
--card-foreground: oklch(0.985 0 0);
|
|
152
|
+
|
|
153
|
+
--popover: oklch(0.205 0 0);
|
|
154
|
+
|
|
155
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
156
|
+
|
|
157
|
+
--primary: oklch(0.922 0 0);
|
|
158
|
+
|
|
159
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
160
|
+
|
|
161
|
+
--secondary: oklch(0.269 0 0);
|
|
162
|
+
|
|
163
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
164
|
+
|
|
165
|
+
--muted: oklch(0.269 0 0);
|
|
166
|
+
|
|
167
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
168
|
+
|
|
169
|
+
--accent: oklch(0.269 0 0);
|
|
170
|
+
|
|
171
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
172
|
+
|
|
173
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
174
|
+
|
|
175
|
+
--border: oklch(1 0 0 / 10%);
|
|
176
|
+
|
|
177
|
+
--input: oklch(1 0 0 / 15%);
|
|
178
|
+
|
|
179
|
+
--ring: oklch(0.556 0 0);
|
|
180
|
+
|
|
181
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
182
|
+
|
|
183
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
184
|
+
|
|
185
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
186
|
+
|
|
187
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
188
|
+
|
|
189
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
190
|
+
|
|
191
|
+
--sidebar: oklch(0.205 0 0);
|
|
192
|
+
|
|
193
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
194
|
+
|
|
195
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
196
|
+
|
|
197
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
198
|
+
|
|
199
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
200
|
+
|
|
201
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
202
|
+
|
|
203
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
204
|
+
|
|
205
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
117
206
|
}
|
|
@@ -1,20 +1,26 @@
|
|
|
1
|
-
import type { Metadata } from "next";
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import "./globals.css";
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import type { Metadata } from "next";
|
|
2
|
+
|
|
3
|
+
import Link from "next/link";
|
|
4
|
+
|
|
5
|
+
import "./globals.css";
|
|
6
|
+
|
|
7
|
+
export const metadata: Metadata = {
|
|
8
|
+
title: "{{name}}",
|
|
9
|
+
description: "A project by Paaauldev",
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
13
|
+
return (
|
|
14
|
+
<html lang="en">
|
|
15
|
+
<body className="bg-background container m-auto grid min-h-screen grid-rows-[auto,1fr,auto] px-4 font-sans antialiased">
|
|
16
|
+
<header className="text-xl font-bold leading-[4rem]">
|
|
17
|
+
<Link href="/">{{ name }}</Link>
|
|
18
|
+
</header>
|
|
19
|
+
<main className="py-8">{children}</main>
|
|
20
|
+
<footer className="text-center leading-[4rem] opacity-70">
|
|
21
|
+
© {new Date().getFullYear()} {{ name }}
|
|
22
|
+
</footer>
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from "@/components/ui/button";
|
|
2
|
-
|
|
3
|
-
export default function HomePage() {
|
|
4
|
-
return <Button>Holi</Button>;
|
|
5
|
-
}
|
|
1
|
+
import { Button } from "@/components/ui/button";
|
|
2
|
+
|
|
3
|
+
export default function HomePage() {
|
|
4
|
+
return <Button>Holi</Button>;
|
|
5
|
+
}
|