mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Merge branch 'shadcn-svelte' of github.com:BradNut/boredgame into shadcn-auth-refactor
This commit is contained in:
commit
0ca51dd6f3
32 changed files with 94 additions and 125 deletions
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://shadcn-svelte.com/schema.json",
|
"$schema": "https://shadcn-svelte.com/schema.json",
|
||||||
"style": "default",
|
"style": "default",
|
||||||
"tailwind": {
|
"tailwind": {
|
||||||
"config": "tailwind.config.js",
|
"config": "tailwind.config.js",
|
||||||
"css": "src/lib/styles/app.postcss",
|
"css": "src/app.postcss",
|
||||||
"baseColor": "slate"
|
"baseColor": "slate"
|
||||||
},
|
},
|
||||||
"aliases": {
|
"aliases": {
|
||||||
"components": "$lib/components",
|
"components": "$lib/components",
|
||||||
"utils": "$lib/utils"
|
"utils": "$lib/utils"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
14
package.json
14
package.json
|
|
@ -46,15 +46,15 @@
|
||||||
"prisma": "^5.2.0",
|
"prisma": "^5.2.0",
|
||||||
"sass": "^1.65.1",
|
"sass": "^1.65.1",
|
||||||
"svelte": "^4.2.0",
|
"svelte": "^4.2.0",
|
||||||
"svelte-check": "^3.5.1",
|
"svelte-check": "^3.5.0",
|
||||||
"svelte-preprocess": "^5.0.4",
|
"svelte-preprocess": "^5.0.4",
|
||||||
"svelte-sequential-preprocessor": "^2.0.1",
|
"svelte-sequential-preprocessor": "^2.0.1",
|
||||||
"sveltekit-flash-message": "^2.2.1",
|
"sveltekit-flash-message": "^2.2.0",
|
||||||
"sveltekit-superforms": "^1.6.1",
|
"sveltekit-superforms": "^1.6.1",
|
||||||
"tailwindcss": "^3.3.3",
|
"tailwindcss": "^3.3.3",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"tslib": "^2.6.2",
|
"tslib": "^2.6.1",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.1.6",
|
||||||
"vite": "^4.4.9",
|
"vite": "^4.4.9",
|
||||||
"vitest": "^0.25.3",
|
"vitest": "^0.25.3",
|
||||||
"zod": "^3.22.2"
|
"zod": "^3.22.2"
|
||||||
|
|
@ -84,7 +84,7 @@
|
||||||
"iconify-icon": "^1.0.8",
|
"iconify-icon": "^1.0.8",
|
||||||
"just-kebab-case": "^4.2.0",
|
"just-kebab-case": "^4.2.0",
|
||||||
"loader": "^2.1.1",
|
"loader": "^2.1.1",
|
||||||
"lucia": "^2.5.0",
|
"lucia": "^2.4.2",
|
||||||
"lucide-svelte": "^0.256.1",
|
"lucide-svelte": "^0.256.1",
|
||||||
"open-props": "^1.5.13",
|
"open-props": "^1.5.13",
|
||||||
"radix-svelte": "^0.9.0",
|
"radix-svelte": "^0.9.0",
|
||||||
|
|
@ -93,8 +93,8 @@
|
||||||
"svelte-lazy-loader": "^1.0.0",
|
"svelte-lazy-loader": "^1.0.0",
|
||||||
"svelte-legos": "^0.2.1",
|
"svelte-legos": "^0.2.1",
|
||||||
"tailwind-merge": "^1.14.0",
|
"tailwind-merge": "^1.14.0",
|
||||||
"tailwind-variants": "^0.1.14",
|
"tailwind-variants": "^0.1.13",
|
||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.6",
|
||||||
"zod-to-json-schema": "^3.21.4"
|
"zod-to-json-schema": "^3.21.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
136
pnpm-lock.yaml
136
pnpm-lock.yaml
|
|
@ -19,10 +19,10 @@ dependencies:
|
||||||
version: 1.2.47
|
version: 1.2.47
|
||||||
'@lucia-auth/adapter-mysql':
|
'@lucia-auth/adapter-mysql':
|
||||||
specifier: ^2.0.0
|
specifier: ^2.0.0
|
||||||
version: 2.0.0(lucia@2.5.0)
|
version: 2.0.0(lucia@2.4.2)
|
||||||
'@lucia-auth/adapter-prisma':
|
'@lucia-auth/adapter-prisma':
|
||||||
specifier: ^3.0.1
|
specifier: ^3.0.1
|
||||||
version: 3.0.1(@prisma/client@5.2.0)(lucia@2.5.0)
|
version: 3.0.1(@prisma/client@5.2.0)(lucia@2.4.2)
|
||||||
'@lukeed/uuid':
|
'@lukeed/uuid':
|
||||||
specifier: ^2.0.1
|
specifier: ^2.0.1
|
||||||
version: 2.0.1
|
version: 2.0.1
|
||||||
|
|
@ -63,8 +63,8 @@ dependencies:
|
||||||
specifier: ^2.1.1
|
specifier: ^2.1.1
|
||||||
version: 2.1.1
|
version: 2.1.1
|
||||||
lucia:
|
lucia:
|
||||||
specifier: ^2.5.0
|
specifier: ^2.4.2
|
||||||
version: 2.5.0
|
version: 2.4.2
|
||||||
lucide-svelte:
|
lucide-svelte:
|
||||||
specifier: ^0.256.1
|
specifier: ^0.256.1
|
||||||
version: 0.256.1(svelte@4.2.0)
|
version: 0.256.1(svelte@4.2.0)
|
||||||
|
|
@ -90,11 +90,11 @@ dependencies:
|
||||||
specifier: ^1.14.0
|
specifier: ^1.14.0
|
||||||
version: 1.14.0
|
version: 1.14.0
|
||||||
tailwind-variants:
|
tailwind-variants:
|
||||||
specifier: ^0.1.14
|
specifier: ^0.1.13
|
||||||
version: 0.1.14(tailwindcss@3.3.3)
|
version: 0.1.13(tailwindcss@3.3.3)
|
||||||
tailwindcss-animate:
|
tailwindcss-animate:
|
||||||
specifier: ^1.0.7
|
specifier: ^1.0.6
|
||||||
version: 1.0.7(tailwindcss@3.3.3)
|
version: 1.0.6(tailwindcss@3.3.3)
|
||||||
zod-to-json-schema:
|
zod-to-json-schema:
|
||||||
specifier: ^3.21.4
|
specifier: ^3.21.4
|
||||||
version: 3.21.4(zod@3.22.2)
|
version: 3.21.4(zod@3.22.2)
|
||||||
|
|
@ -123,10 +123,10 @@ devDependencies:
|
||||||
version: 18.17.5
|
version: 18.17.5
|
||||||
'@typescript-eslint/eslint-plugin':
|
'@typescript-eslint/eslint-plugin':
|
||||||
specifier: ^5.62.0
|
specifier: ^5.62.0
|
||||||
version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.47.0)(typescript@5.2.2)
|
version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.47.0)(typescript@5.1.6)
|
||||||
'@typescript-eslint/parser':
|
'@typescript-eslint/parser':
|
||||||
specifier: ^5.62.0
|
specifier: ^5.62.0
|
||||||
version: 5.62.0(eslint@8.47.0)(typescript@5.2.2)
|
version: 5.62.0(eslint@8.47.0)(typescript@5.1.6)
|
||||||
autoprefixer:
|
autoprefixer:
|
||||||
specifier: ^10.4.15
|
specifier: ^10.4.15
|
||||||
version: 10.4.15(postcss@8.4.29)
|
version: 10.4.15(postcss@8.4.29)
|
||||||
|
|
@ -173,17 +173,17 @@ devDependencies:
|
||||||
specifier: ^4.2.0
|
specifier: ^4.2.0
|
||||||
version: 4.2.0
|
version: 4.2.0
|
||||||
svelte-check:
|
svelte-check:
|
||||||
specifier: ^3.5.1
|
specifier: ^3.5.0
|
||||||
version: 3.5.1(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)
|
version: 3.5.0(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)
|
||||||
svelte-preprocess:
|
svelte-preprocess:
|
||||||
specifier: ^5.0.4
|
specifier: ^5.0.4
|
||||||
version: 5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.2.2)
|
version: 5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.1.6)
|
||||||
svelte-sequential-preprocessor:
|
svelte-sequential-preprocessor:
|
||||||
specifier: ^2.0.1
|
specifier: ^2.0.1
|
||||||
version: 2.0.1
|
version: 2.0.1
|
||||||
sveltekit-flash-message:
|
sveltekit-flash-message:
|
||||||
specifier: ^2.2.1
|
specifier: ^2.2.0
|
||||||
version: 2.2.1(@sveltejs/kit@1.24.1)(svelte@4.2.0)
|
version: 2.2.0(@sveltejs/kit@1.24.1)(svelte@4.2.0)
|
||||||
sveltekit-superforms:
|
sveltekit-superforms:
|
||||||
specifier: ^1.6.1
|
specifier: ^1.6.1
|
||||||
version: 1.6.1(@sveltejs/kit@1.24.1)(svelte@4.2.0)(zod@3.22.2)
|
version: 1.6.1(@sveltejs/kit@1.24.1)(svelte@4.2.0)(zod@3.22.2)
|
||||||
|
|
@ -192,13 +192,13 @@ devDependencies:
|
||||||
version: 3.3.3(ts-node@10.9.1)
|
version: 3.3.3(ts-node@10.9.1)
|
||||||
ts-node:
|
ts-node:
|
||||||
specifier: ^10.9.1
|
specifier: ^10.9.1
|
||||||
version: 10.9.1(@types/node@18.17.5)(typescript@5.2.2)
|
version: 10.9.1(@types/node@18.17.5)(typescript@5.1.6)
|
||||||
tslib:
|
tslib:
|
||||||
specifier: ^2.6.2
|
specifier: ^2.6.1
|
||||||
version: 2.6.2
|
version: 2.6.1
|
||||||
typescript:
|
typescript:
|
||||||
specifier: ^5.2.2
|
specifier: ^5.1.6
|
||||||
version: 5.2.2
|
version: 5.1.6
|
||||||
vite:
|
vite:
|
||||||
specifier: ^4.4.9
|
specifier: ^4.4.9
|
||||||
version: 4.4.9(@types/node@18.17.5)(sass@1.65.1)
|
version: 4.4.9(@types/node@18.17.5)(sass@1.65.1)
|
||||||
|
|
@ -1145,7 +1145,7 @@ packages:
|
||||||
'@jridgewell/resolve-uri': 3.1.0
|
'@jridgewell/resolve-uri': 3.1.0
|
||||||
'@jridgewell/sourcemap-codec': 1.4.15
|
'@jridgewell/sourcemap-codec': 1.4.15
|
||||||
|
|
||||||
/@lucia-auth/adapter-mysql@2.0.0(lucia@2.5.0):
|
/@lucia-auth/adapter-mysql@2.0.0(lucia@2.4.2):
|
||||||
resolution: {integrity: sha512-8a4JZ3VjDyRu/mAop2hEt/jOJO2HXwWIAid6a4wGiR8wgnlyOws9brRc+/wxQHSOlWUlrWemrfDvXLs5mMtkeQ==}
|
resolution: {integrity: sha512-8a4JZ3VjDyRu/mAop2hEt/jOJO2HXwWIAid6a4wGiR8wgnlyOws9brRc+/wxQHSOlWUlrWemrfDvXLs5mMtkeQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@planetscale/database': ^1.0.0
|
'@planetscale/database': ^1.0.0
|
||||||
|
|
@ -1157,17 +1157,17 @@ packages:
|
||||||
mysql2:
|
mysql2:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
lucia: 2.5.0
|
lucia: 2.4.2
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@lucia-auth/adapter-prisma@3.0.1(@prisma/client@5.2.0)(lucia@2.5.0):
|
/@lucia-auth/adapter-prisma@3.0.1(@prisma/client@5.2.0)(lucia@2.4.2):
|
||||||
resolution: {integrity: sha512-JZNl+721M5ApjtNiH+WUYstiC8cffcI/Y9IzKsa0uUhQMIHl2ObCrgO0R3fgHnjWHBjhQoK36g/r/iSJIDppBA==}
|
resolution: {integrity: sha512-JZNl+721M5ApjtNiH+WUYstiC8cffcI/Y9IzKsa0uUhQMIHl2ObCrgO0R3fgHnjWHBjhQoK36g/r/iSJIDppBA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@prisma/client': ^4.2.0 || ^5.0.0
|
'@prisma/client': ^4.2.0 || ^5.0.0
|
||||||
lucia: ^2.0.0
|
lucia: ^2.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@prisma/client': 5.2.0(prisma@5.2.0)
|
'@prisma/client': 5.2.0(prisma@5.2.0)
|
||||||
lucia: 2.5.0
|
lucia: 2.4.2
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@lukeed/csprng@1.1.0:
|
/@lukeed/csprng@1.1.0:
|
||||||
|
|
@ -1445,7 +1445,7 @@ packages:
|
||||||
resolution: {integrity: sha512-MFETx3tbTjE7Uk6vvnWINA/1iJ7LuMdO4fcq8UfF0pRbj01aGLduVvQcRyswuACJdpnHgg8E3rQLhaRdNEJS0w==}
|
resolution: {integrity: sha512-MFETx3tbTjE7Uk6vvnWINA/1iJ7LuMdO4fcq8UfF0pRbj01aGLduVvQcRyswuACJdpnHgg8E3rQLhaRdNEJS0w==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.47.0)(typescript@5.2.2):
|
/@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.47.0)(typescript@5.1.6):
|
||||||
resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==}
|
resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
@ -1457,23 +1457,23 @@ packages:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/regexpp': 4.5.0
|
'@eslint-community/regexpp': 4.5.0
|
||||||
'@typescript-eslint/parser': 5.62.0(eslint@8.47.0)(typescript@5.2.2)
|
'@typescript-eslint/parser': 5.62.0(eslint@8.47.0)(typescript@5.1.6)
|
||||||
'@typescript-eslint/scope-manager': 5.62.0
|
'@typescript-eslint/scope-manager': 5.62.0
|
||||||
'@typescript-eslint/type-utils': 5.62.0(eslint@8.47.0)(typescript@5.2.2)
|
'@typescript-eslint/type-utils': 5.62.0(eslint@8.47.0)(typescript@5.1.6)
|
||||||
'@typescript-eslint/utils': 5.62.0(eslint@8.47.0)(typescript@5.2.2)
|
'@typescript-eslint/utils': 5.62.0(eslint@8.47.0)(typescript@5.1.6)
|
||||||
debug: 4.3.4
|
debug: 4.3.4
|
||||||
eslint: 8.47.0
|
eslint: 8.47.0
|
||||||
graphemer: 1.4.0
|
graphemer: 1.4.0
|
||||||
ignore: 5.2.1
|
ignore: 5.2.1
|
||||||
natural-compare-lite: 1.4.0
|
natural-compare-lite: 1.4.0
|
||||||
semver: 7.3.8
|
semver: 7.3.8
|
||||||
tsutils: 3.21.0(typescript@5.2.2)
|
tsutils: 3.21.0(typescript@5.1.6)
|
||||||
typescript: 5.2.2
|
typescript: 5.1.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/parser@5.62.0(eslint@8.47.0)(typescript@5.2.2):
|
/@typescript-eslint/parser@5.62.0(eslint@8.47.0)(typescript@5.1.6):
|
||||||
resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==}
|
resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
@ -1485,10 +1485,10 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/scope-manager': 5.62.0
|
'@typescript-eslint/scope-manager': 5.62.0
|
||||||
'@typescript-eslint/types': 5.62.0
|
'@typescript-eslint/types': 5.62.0
|
||||||
'@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2)
|
'@typescript-eslint/typescript-estree': 5.62.0(typescript@5.1.6)
|
||||||
debug: 4.3.4
|
debug: 4.3.4
|
||||||
eslint: 8.47.0
|
eslint: 8.47.0
|
||||||
typescript: 5.2.2
|
typescript: 5.1.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
@ -1501,7 +1501,7 @@ packages:
|
||||||
'@typescript-eslint/visitor-keys': 5.62.0
|
'@typescript-eslint/visitor-keys': 5.62.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/type-utils@5.62.0(eslint@8.47.0)(typescript@5.2.2):
|
/@typescript-eslint/type-utils@5.62.0(eslint@8.47.0)(typescript@5.1.6):
|
||||||
resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==}
|
resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
@ -1511,12 +1511,12 @@ packages:
|
||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2)
|
'@typescript-eslint/typescript-estree': 5.62.0(typescript@5.1.6)
|
||||||
'@typescript-eslint/utils': 5.62.0(eslint@8.47.0)(typescript@5.2.2)
|
'@typescript-eslint/utils': 5.62.0(eslint@8.47.0)(typescript@5.1.6)
|
||||||
debug: 4.3.4
|
debug: 4.3.4
|
||||||
eslint: 8.47.0
|
eslint: 8.47.0
|
||||||
tsutils: 3.21.0(typescript@5.2.2)
|
tsutils: 3.21.0(typescript@5.1.6)
|
||||||
typescript: 5.2.2
|
typescript: 5.1.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
@ -1526,7 +1526,7 @@ packages:
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/typescript-estree@5.62.0(typescript@5.2.2):
|
/@typescript-eslint/typescript-estree@5.62.0(typescript@5.1.6):
|
||||||
resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==}
|
resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
@ -1541,13 +1541,13 @@ packages:
|
||||||
globby: 11.1.0
|
globby: 11.1.0
|
||||||
is-glob: 4.0.3
|
is-glob: 4.0.3
|
||||||
semver: 7.5.4
|
semver: 7.5.4
|
||||||
tsutils: 3.21.0(typescript@5.2.2)
|
tsutils: 3.21.0(typescript@5.1.6)
|
||||||
typescript: 5.2.2
|
typescript: 5.1.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/utils@5.62.0(eslint@8.47.0)(typescript@5.2.2):
|
/@typescript-eslint/utils@5.62.0(eslint@8.47.0)(typescript@5.1.6):
|
||||||
resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==}
|
resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
@ -1558,7 +1558,7 @@ packages:
|
||||||
'@types/semver': 7.5.0
|
'@types/semver': 7.5.0
|
||||||
'@typescript-eslint/scope-manager': 5.62.0
|
'@typescript-eslint/scope-manager': 5.62.0
|
||||||
'@typescript-eslint/types': 5.62.0
|
'@typescript-eslint/types': 5.62.0
|
||||||
'@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2)
|
'@typescript-eslint/typescript-estree': 5.62.0(typescript@5.1.6)
|
||||||
eslint: 8.47.0
|
eslint: 8.47.0
|
||||||
eslint-scope: 5.1.1
|
eslint-scope: 5.1.1
|
||||||
semver: 7.3.8
|
semver: 7.3.8
|
||||||
|
|
@ -2801,8 +2801,8 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
yallist: 4.0.0
|
yallist: 4.0.0
|
||||||
|
|
||||||
/lucia@2.5.0:
|
/lucia@2.4.2:
|
||||||
resolution: {integrity: sha512-eUUtf4gBsT1vLF1UEkZly3Sh620N4P0TcGzeDMviFqF0qULB7XOgC9GMmobK3y9L/cEfoD8YHNxfIN/AzSXQsg==}
|
resolution: {integrity: sha512-JJMAxrsjNXS5WUNe/u9+ahIXM+RNHTL2+RRtzUo1lZgUQL7oFsOgckikdjUPmGaEKrmQfUznxg20L/Ghba3Fjg==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/lucide-svelte@0.256.1(svelte@4.2.0):
|
/lucide-svelte@0.256.1(svelte@4.2.0):
|
||||||
|
|
@ -3307,7 +3307,7 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
lilconfig: 2.1.0
|
lilconfig: 2.1.0
|
||||||
postcss: 8.4.29
|
postcss: 8.4.29
|
||||||
ts-node: 10.9.1(@types/node@18.17.5)(typescript@5.2.2)
|
ts-node: 10.9.1(@types/node@18.17.5)(typescript@5.1.6)
|
||||||
yaml: 1.10.2
|
yaml: 1.10.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
|
@ -3325,7 +3325,7 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
lilconfig: 2.0.6
|
lilconfig: 2.0.6
|
||||||
postcss: 8.4.29
|
postcss: 8.4.29
|
||||||
ts-node: 10.9.1(@types/node@18.17.5)(typescript@5.2.2)
|
ts-node: 10.9.1(@types/node@18.17.5)(typescript@5.1.6)
|
||||||
yaml: 2.1.3
|
yaml: 2.1.3
|
||||||
|
|
||||||
/postcss-logical@6.2.0(postcss@8.4.29):
|
/postcss-logical@6.2.0(postcss@8.4.29):
|
||||||
|
|
@ -3848,8 +3848,8 @@ packages:
|
||||||
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
|
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
/svelte-check@3.5.1(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0):
|
/svelte-check@3.5.0(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0):
|
||||||
resolution: {integrity: sha512-+Zb4iHxAhdUtcUg/WJPRjlS1RJalIsWAe9Mz6G1zyznSs7dDkT7VUBdXc3q7Iwg49O/VrZgyJRvOJkjuBfKjFA==}
|
resolution: {integrity: sha512-KHujbn4k17xKYLmtCwv0sKKM7uiHTYcQvXnvrCcNU6a7hcszh99zFTIoiu/Sp/ewAw5aJmillJ1Cs8gKLmcX4A==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0
|
svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0
|
||||||
|
|
@ -3861,8 +3861,8 @@ packages:
|
||||||
picocolors: 1.0.0
|
picocolors: 1.0.0
|
||||||
sade: 1.8.1
|
sade: 1.8.1
|
||||||
svelte: 4.2.0
|
svelte: 4.2.0
|
||||||
svelte-preprocess: 5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.2.2)
|
svelte-preprocess: 5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.1.6)
|
||||||
typescript: 5.2.2
|
typescript: 5.1.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@babel/core'
|
- '@babel/core'
|
||||||
- coffeescript
|
- coffeescript
|
||||||
|
|
@ -3932,7 +3932,7 @@ packages:
|
||||||
svelte: 4.2.0
|
svelte: 4.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/svelte-preprocess@5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.2.2):
|
/svelte-preprocess@5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.1.6):
|
||||||
resolution: {integrity: sha512-ABia2QegosxOGsVlsSBJvoWeXy1wUKSfF7SWJdTjLAbx/Y3SrVevvvbFNQqrSJw89+lNSsM58SipmZJ5SRi5iw==}
|
resolution: {integrity: sha512-ABia2QegosxOGsVlsSBJvoWeXy1wUKSfF7SWJdTjLAbx/Y3SrVevvvbFNQqrSJw89+lNSsM58SipmZJ5SRi5iw==}
|
||||||
engines: {node: '>= 14.10.0'}
|
engines: {node: '>= 14.10.0'}
|
||||||
requiresBuild: true
|
requiresBuild: true
|
||||||
|
|
@ -3979,7 +3979,7 @@ packages:
|
||||||
sorcery: 0.11.0
|
sorcery: 0.11.0
|
||||||
strip-indent: 3.0.0
|
strip-indent: 3.0.0
|
||||||
svelte: 4.2.0
|
svelte: 4.2.0
|
||||||
typescript: 5.2.2
|
typescript: 5.1.6
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/svelte-sequential-preprocessor@2.0.1:
|
/svelte-sequential-preprocessor@2.0.1:
|
||||||
|
|
@ -3987,7 +3987,7 @@ packages:
|
||||||
engines: {node: '>=16'}
|
engines: {node: '>=16'}
|
||||||
dependencies:
|
dependencies:
|
||||||
svelte: 4.2.0
|
svelte: 4.2.0
|
||||||
tslib: 2.6.2
|
tslib: 2.6.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/svelte-writable-derived@3.1.0(svelte@4.2.0):
|
/svelte-writable-derived@3.1.0(svelte@4.2.0):
|
||||||
|
|
@ -4016,8 +4016,8 @@ packages:
|
||||||
magic-string: 0.30.0
|
magic-string: 0.30.0
|
||||||
periscopic: 3.1.0
|
periscopic: 3.1.0
|
||||||
|
|
||||||
/sveltekit-flash-message@2.2.1(@sveltejs/kit@1.24.1)(svelte@4.2.0):
|
/sveltekit-flash-message@2.2.0(@sveltejs/kit@1.24.1)(svelte@4.2.0):
|
||||||
resolution: {integrity: sha512-KnVuC7Q07crRTwgm/N5CQEebNbzPWoMrtlKXRMq608T+/by8kETXmyTUnuZ5wsnfJEwhWQyXsXBOY2a6NzCPQQ==}
|
resolution: {integrity: sha512-22hYvD4kQUWJevbiJQkRNIWtEexKyKYhN4zyn8YhfU6J2hRY1uFdTTfH0JIWwPkJ/QarBgLwzP79GO5t/LLZUw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@sveltejs/kit': 1.x
|
'@sveltejs/kit': 1.x
|
||||||
svelte: 3.x || 4.x
|
svelte: 3.x || 4.x
|
||||||
|
|
@ -4044,8 +4044,8 @@ packages:
|
||||||
resolution: {integrity: sha512-3mFKyCo/MBcgyOTlrY8T7odzZFx+w+qKSMAmdFzRvqBfLlSigU6TZnlFHK0lkMwj9Bj8OYU+9yW9lmGuS0QEnQ==}
|
resolution: {integrity: sha512-3mFKyCo/MBcgyOTlrY8T7odzZFx+w+qKSMAmdFzRvqBfLlSigU6TZnlFHK0lkMwj9Bj8OYU+9yW9lmGuS0QEnQ==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/tailwind-variants@0.1.14(tailwindcss@3.3.3):
|
/tailwind-variants@0.1.13(tailwindcss@3.3.3):
|
||||||
resolution: {integrity: sha512-qfOkSGP+cSolTTkJboldGmiM+w5uE77pazCRkwixEBsuaml9CmhN0E8qgH7QnZNmOTVSsgRK1tn/MsKOvOKVWA==}
|
resolution: {integrity: sha512-G2M7M74hjq0nAo6QdEfUJgF+0t9DecFUw91GC1P9YTnwMcfB3uChT5U5e2DuNU42xoOz15lzo7r0mPdMzZkylg==}
|
||||||
engines: {node: '>=16.x', pnpm: '>=7.x'}
|
engines: {node: '>=16.x', pnpm: '>=7.x'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
tailwindcss: '*'
|
tailwindcss: '*'
|
||||||
|
|
@ -4054,8 +4054,8 @@ packages:
|
||||||
tailwindcss: 3.3.3(ts-node@10.9.1)
|
tailwindcss: 3.3.3(ts-node@10.9.1)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/tailwindcss-animate@1.0.7(tailwindcss@3.3.3):
|
/tailwindcss-animate@1.0.6(tailwindcss@3.3.3):
|
||||||
resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==}
|
resolution: {integrity: sha512-4WigSGMvbl3gCCact62ZvOngA+PRqhAn7si3TQ3/ZuPuQZcIEtVap+ENSXbzWhpojKB8CpvnIsrwBu8/RnHtuw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
tailwindcss: '>=3.0.0 || insiders'
|
tailwindcss: '>=3.0.0 || insiders'
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -4165,7 +4165,7 @@ packages:
|
||||||
/ts-interface-checker@0.1.13:
|
/ts-interface-checker@0.1.13:
|
||||||
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
|
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
|
||||||
|
|
||||||
/ts-node@10.9.1(@types/node@18.17.5)(typescript@5.2.2):
|
/ts-node@10.9.1(@types/node@18.17.5)(typescript@5.1.6):
|
||||||
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
|
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
@ -4191,7 +4191,7 @@ packages:
|
||||||
create-require: 1.1.1
|
create-require: 1.1.1
|
||||||
diff: 4.0.2
|
diff: 4.0.2
|
||||||
make-error: 1.3.6
|
make-error: 1.3.6
|
||||||
typescript: 5.2.2
|
typescript: 5.1.6
|
||||||
v8-compile-cache-lib: 3.0.1
|
v8-compile-cache-lib: 3.0.1
|
||||||
yn: 3.1.1
|
yn: 3.1.1
|
||||||
|
|
||||||
|
|
@ -4199,18 +4199,18 @@ packages:
|
||||||
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
|
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/tslib@2.6.2:
|
/tslib@2.6.1:
|
||||||
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
|
resolution: {integrity: sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/tsutils@3.21.0(typescript@5.2.2):
|
/tsutils@3.21.0(typescript@5.1.6):
|
||||||
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
|
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
|
||||||
engines: {node: '>= 6'}
|
engines: {node: '>= 6'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
|
typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib: 1.14.1
|
tslib: 1.14.1
|
||||||
typescript: 5.2.2
|
typescript: 5.1.6
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/type-check@0.4.0:
|
/type-check@0.4.0:
|
||||||
|
|
@ -4230,8 +4230,8 @@ packages:
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/typescript@5.2.2:
|
/typescript@5.1.6:
|
||||||
resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==}
|
resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==}
|
||||||
engines: {node: '>=14.17'}
|
engines: {node: '>=14.17'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
import { BOARD_GAME_ATLAS_CLIENT_ID } from '$env/static/private';
|
|
||||||
import { URLSearchParams } from 'url';
|
|
||||||
|
|
||||||
const base = 'https://api.boardgameatlas.com/api';
|
|
||||||
|
|
||||||
export function boardGameApi(
|
|
||||||
method: string,
|
|
||||||
resource: string,
|
|
||||||
queryParams: Record<string, string>,
|
|
||||||
data?: Record<string, unknown>
|
|
||||||
) {
|
|
||||||
// console.log('queryParams', queryParams);
|
|
||||||
queryParams.client_id = BOARD_GAME_ATLAS_CLIENT_ID;
|
|
||||||
const urlQueryParams = new URLSearchParams(queryParams);
|
|
||||||
const url = `${base}/${resource}${urlQueryParams ? `?${urlQueryParams}` : ''}`;
|
|
||||||
return fetch(url, {
|
|
||||||
method,
|
|
||||||
headers: {
|
|
||||||
'Content-Type': 'application/json'
|
|
||||||
},
|
|
||||||
body: data && JSON.stringify(data)
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
@ -3,9 +3,7 @@
|
||||||
import type { SearchSchema } from '$lib/zodValidation';
|
import type { SearchSchema } from '$lib/zodValidation';
|
||||||
import { boredState } from '$lib/stores/boredState';
|
import { boredState } from '$lib/stores/boredState';
|
||||||
import { gameStore } from '$lib/stores/gameSearchStore';
|
import { gameStore } from '$lib/stores/gameSearchStore';
|
||||||
import { ToastType } from '$lib/types';
|
|
||||||
import { superForm } from 'sveltekit-superforms/client';
|
import { superForm } from 'sveltekit-superforms/client';
|
||||||
import { toast } from '../../toast/toast';
|
|
||||||
import { Button } from '$components/ui/button';
|
import { Button } from '$components/ui/button';
|
||||||
|
|
||||||
export let data: SuperValidated<SearchSchema>;
|
export let data: SuperValidated<SearchSchema>;
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
<title>Bored Game | Sign Up</title>
|
<title>Bored Game | Sign Up</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="page sign-up">
|
<div class="page">
|
||||||
<form method="POST" action="/sign-up" use:enhance>
|
<form method="POST" action="/sign-up" use:enhance>
|
||||||
<div class="grid w-full max-w-sm items-center gap-2.5">
|
<div class="grid w-full max-w-sm items-center gap-2.5">
|
||||||
<h2
|
<h2
|
||||||
|
|
@ -120,12 +120,5 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="postcss">
|
<style scoped>
|
||||||
.sign-up {
|
|
||||||
display: grid;
|
|
||||||
width: 100%;
|
|
||||||
max-width: 24rem;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { error, fail, redirect } from '@sveltejs/kit';
|
import { error, fail, redirect } from '@sveltejs/kit';
|
||||||
import { setError, superValidate } from 'sveltekit-superforms/server';
|
import { setError, superValidate } from 'sveltekit-superforms/server';
|
||||||
import type { PageServerLoad } from '../../../$types.js';
|
import type { PageServerLoad } from '../../$types.js';
|
||||||
import prisma from '$lib/prisma.js';
|
import prisma from '$lib/prisma.js';
|
||||||
import { modifyListGameSchema, type ListGame } from '$lib/config/zod-schemas.js';
|
import { modifyListGameSchema, type ListGame } from '$lib/config/zod-schemas.js';
|
||||||
import type { CollectionItemWithGame } from '$lib/types.js';
|
import type { CollectionItemWithGame } from '$lib/types.js';
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
// import TextSearch from '$lib/components/search/textSearch/index.svelte';
|
// import TextSearch from '$lib/components/search/textSearch/index.svelte';
|
||||||
import RandomSearch from '$lib/components/search/random/index.svelte';
|
import RandomSearch from '$lib/components/search/random/index.svelte';
|
||||||
import Random from '$lib/components/random/index.svelte';
|
// import Random from '$lib/components/random/index.svelte';
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
export let formData;
|
export let formData;
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
<p>Or pick a random game!</p>
|
<p>Or pick a random game!</p>
|
||||||
<div class="random-buttons">
|
<div class="random-buttons">
|
||||||
<RandomSearch data={data.form} />
|
<RandomSearch data={data.form} />
|
||||||
<Random />
|
<!-- <Random /> -->
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<!-- <TextSearch showButton advancedSearch data={data.form} /> -->
|
<!-- <TextSearch showButton advancedSearch data={data.form} /> -->
|
||||||
0
src/routes/api.ts
Normal file
0
src/routes/api.ts
Normal file
|
|
@ -1,5 +1,6 @@
|
||||||
import { error } from '@sveltejs/kit';
|
import { error } from '@sveltejs/kit';
|
||||||
import prisma from '$lib/prisma.js';
|
import prisma from '$lib/prisma.js';
|
||||||
|
import { boardGameApi } from '../../api';
|
||||||
|
|
||||||
export const load = async ({ params, setHeaders, locals }) => {
|
export const load = async ({ params, setHeaders, locals }) => {
|
||||||
try {
|
try {
|
||||||
|
|
@ -66,7 +66,7 @@
|
||||||
<AddToList {in_collection} {in_wishlist} game_id={game.id} {wishlist} {collection} />
|
<AddToList {in_collection} {in_wishlist} game_id={game.id} {wishlist} {collection} />
|
||||||
{:else}
|
{:else}
|
||||||
<span>
|
<span>
|
||||||
<Button href="/sign-up">Sign Up</Button> or <Button href="/login">Login</Button> to add to a list.
|
<Button href="/sign-up">Sign Up</Button> or <Button href="/login">Sign In</Button> to add to a list.
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in a new issue