mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Adding arctic for future OAuth.
This commit is contained in:
parent
aedeb7830b
commit
388f9a399d
6 changed files with 25 additions and 26 deletions
|
|
@ -40,7 +40,7 @@
|
||||||
"drizzle-kit": "^0.23.0",
|
"drizzle-kit": "^0.23.0",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-svelte": "^2.42.0",
|
"eslint-plugin-svelte": "^2.43.0",
|
||||||
"just-clone": "^6.2.0",
|
"just-clone": "^6.2.0",
|
||||||
"just-debounce-it": "^3.2.0",
|
"just-debounce-it": "^3.2.0",
|
||||||
"postcss": "^8.4.39",
|
"postcss": "^8.4.39",
|
||||||
|
|
@ -86,6 +86,7 @@
|
||||||
"@sveltejs/adapter-vercel": "^5.4.1",
|
"@sveltejs/adapter-vercel": "^5.4.1",
|
||||||
"@types/feather-icons": "^4.29.4",
|
"@types/feather-icons": "^4.29.4",
|
||||||
"@vercel/og": "^0.5.20",
|
"@vercel/og": "^0.5.20",
|
||||||
|
"arctic": "^1.9.2",
|
||||||
"bits-ui": "^0.21.12",
|
"bits-ui": "^0.21.12",
|
||||||
"boardgamegeekclient": "^1.9.1",
|
"boardgamegeekclient": "^1.9.1",
|
||||||
"class-variance-authority": "^0.7.0",
|
"class-variance-authority": "^0.7.0",
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,9 @@ importers:
|
||||||
'@vercel/og':
|
'@vercel/og':
|
||||||
specifier: ^0.5.20
|
specifier: ^0.5.20
|
||||||
version: 0.5.20
|
version: 0.5.20
|
||||||
|
arctic:
|
||||||
|
specifier: ^1.9.2
|
||||||
|
version: 1.9.2
|
||||||
bits-ui:
|
bits-ui:
|
||||||
specifier: ^0.21.12
|
specifier: ^0.21.12
|
||||||
version: 0.21.12(svelte@5.0.0-next.175)
|
version: 0.21.12(svelte@5.0.0-next.175)
|
||||||
|
|
@ -178,8 +181,8 @@ importers:
|
||||||
specifier: ^9.1.0
|
specifier: ^9.1.0
|
||||||
version: 9.1.0(eslint@8.57.0)
|
version: 9.1.0(eslint@8.57.0)
|
||||||
eslint-plugin-svelte:
|
eslint-plugin-svelte:
|
||||||
specifier: ^2.42.0
|
specifier: ^2.43.0
|
||||||
version: 2.42.0(eslint@8.57.0)(svelte@5.0.0-next.175)(ts-node@10.9.2(@types/node@20.14.11)(typescript@5.5.3))
|
version: 2.43.0(eslint@8.57.0)(svelte@5.0.0-next.175)(ts-node@10.9.2(@types/node@20.14.11)(typescript@5.5.3))
|
||||||
just-clone:
|
just-clone:
|
||||||
specifier: ^6.2.0
|
specifier: ^6.2.0
|
||||||
version: 6.2.0
|
version: 6.2.0
|
||||||
|
|
@ -2085,6 +2088,9 @@ packages:
|
||||||
aproba@2.0.0:
|
aproba@2.0.0:
|
||||||
resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==}
|
resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==}
|
||||||
|
|
||||||
|
arctic@1.9.2:
|
||||||
|
resolution: {integrity: sha512-VTnGpYx+ypboJdNrWnK17WeD7zN/xSCHnpecd5QYsBfVZde/5i+7DJ1wrf/ioSDMiEjagXmyNWAE3V2C9f1hNg==}
|
||||||
|
|
||||||
are-we-there-yet@2.0.0:
|
are-we-there-yet@2.0.0:
|
||||||
resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==}
|
resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
@ -2592,12 +2598,12 @@ packages:
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: '>=7.0.0'
|
eslint: '>=7.0.0'
|
||||||
|
|
||||||
eslint-plugin-svelte@2.42.0:
|
eslint-plugin-svelte@2.43.0:
|
||||||
resolution: {integrity: sha512-mHP6z0DWq97KZvoQcApZHdF9m9epcDV/ICKufeEH18Vh+8vl7S+gwt8WdUohEqKNVMuXRkbvy1suMcVvUDiOGw==}
|
resolution: {integrity: sha512-REkxQWvg2pp7QVLxQNa+dJ97xUqRe7Y2JJbSWkHSuszu0VcblZtXkPBPckkivk99y5CdLw4slqfPylL2d/X4jQ==}
|
||||||
engines: {node: ^14.17.0 || >=16.0.0}
|
engines: {node: ^14.17.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^7.0.0 || ^8.0.0-0 || ^9.0.0-0
|
eslint: ^7.0.0 || ^8.0.0-0 || ^9.0.0-0
|
||||||
svelte: ^3.37.0 || ^4.0.0 || ^5.0.0-next.181
|
svelte: ^3.37.0 || ^4.0.0 || ^5.0.0-next.191
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
svelte:
|
svelte:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
@ -3920,11 +3926,11 @@ packages:
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0
|
svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0
|
||||||
|
|
||||||
svelte-eslint-parser@0.40.0:
|
svelte-eslint-parser@0.41.0:
|
||||||
resolution: {integrity: sha512-M+v1HhC5T1WKYVxWexUCS4o6oIBS88XKzOZuhl2ew+eGxol7eC21e+VE8TC4rXJ3iT3iXT0qlZsZcpKjVo5/zQ==}
|
resolution: {integrity: sha512-L6f4hOL+AbgfBIB52Z310pg1d2QjRqm7wy3kI1W6hhdhX5bvu7+f0R6w4ykp5HoDdzq+vGhIJmsisaiJDGmVfA==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
svelte: ^3.37.0 || ^4.0.0 || ^5.0.0-next.181
|
svelte: ^3.37.0 || ^4.0.0 || ^5.0.0-next.191
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
svelte:
|
svelte:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
@ -5919,6 +5925,10 @@ snapshots:
|
||||||
|
|
||||||
aproba@2.0.0: {}
|
aproba@2.0.0: {}
|
||||||
|
|
||||||
|
arctic@1.9.2:
|
||||||
|
dependencies:
|
||||||
|
oslo: 1.2.0
|
||||||
|
|
||||||
are-we-there-yet@2.0.0:
|
are-we-there-yet@2.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
delegates: 1.0.0
|
delegates: 1.0.0
|
||||||
|
|
@ -6389,7 +6399,7 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint: 8.57.0
|
eslint: 8.57.0
|
||||||
|
|
||||||
eslint-plugin-svelte@2.42.0(eslint@8.57.0)(svelte@5.0.0-next.175)(ts-node@10.9.2(@types/node@20.14.11)(typescript@5.5.3)):
|
eslint-plugin-svelte@2.43.0(eslint@8.57.0)(svelte@5.0.0-next.175)(ts-node@10.9.2(@types/node@20.14.11)(typescript@5.5.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0)
|
'@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0)
|
||||||
'@jridgewell/sourcemap-codec': 1.4.15
|
'@jridgewell/sourcemap-codec': 1.4.15
|
||||||
|
|
@ -6402,7 +6412,7 @@ snapshots:
|
||||||
postcss-safe-parser: 6.0.0(postcss@8.4.39)
|
postcss-safe-parser: 6.0.0(postcss@8.4.39)
|
||||||
postcss-selector-parser: 6.1.0
|
postcss-selector-parser: 6.1.0
|
||||||
semver: 7.6.2
|
semver: 7.6.2
|
||||||
svelte-eslint-parser: 0.40.0(svelte@5.0.0-next.175)
|
svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.175)
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
svelte: 5.0.0-next.175
|
svelte: 5.0.0-next.175
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
|
|
@ -7818,7 +7828,7 @@ snapshots:
|
||||||
- stylus
|
- stylus
|
||||||
- sugarss
|
- sugarss
|
||||||
|
|
||||||
svelte-eslint-parser@0.40.0(svelte@5.0.0-next.175):
|
svelte-eslint-parser@0.41.0(svelte@5.0.0-next.175):
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint-scope: 7.2.2
|
eslint-scope: 7.2.2
|
||||||
eslint-visitor-keys: 3.4.3
|
eslint-visitor-keys: 3.4.3
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ const EnvSchema = z.object({
|
||||||
DATABASE_HOST: z.string(),
|
DATABASE_HOST: z.string(),
|
||||||
DATABASE_PORT: z.coerce.number(),
|
DATABASE_PORT: z.coerce.number(),
|
||||||
DATABASE_DB: z.string(),
|
DATABASE_DB: z.string(),
|
||||||
DATABASE_URL: z.string(),
|
|
||||||
PUBLIC_SITE_NAME: z.string(),
|
PUBLIC_SITE_NAME: z.string(),
|
||||||
PUBLIC_SITE_URL: z.string(),
|
PUBLIC_SITE_URL: z.string(),
|
||||||
PUBLIC_UMAMI_DO_NOT_TRACK: z.string(),
|
PUBLIC_UMAMI_DO_NOT_TRACK: z.string(),
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,5 @@ declare module 'lucia' {
|
||||||
firstName: string;
|
firstName: string;
|
||||||
lastName: string;
|
lastName: string;
|
||||||
theme: string;
|
theme: string;
|
||||||
two_factor_secret: string | null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,8 @@
|
||||||
import { crossfade } from 'svelte/transition';
|
import { crossfade } from 'svelte/transition';
|
||||||
import { quintOut } from 'svelte/easing';
|
|
||||||
|
|
||||||
export const [send, receive] = crossfade({
|
export const [send, receive] = crossfade({
|
||||||
duration: d => Math.sqrt(d * 200),
|
duration: d => Math.sqrt(d * 200),
|
||||||
easing: quintOut,
|
fallback() {
|
||||||
|
|
||||||
// You can customize the fallBack if the element sizes are significantly different
|
|
||||||
fallback(node, params) {
|
|
||||||
return { duration: 600, easing: x => --x * x * x + 1 }; // Ease-out cubic
|
return { duration: 600, easing: x => --x * x * x + 1 }; // Ease-out cubic
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="auth-form">
|
<div>
|
||||||
{@render children()}
|
{@render children()}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -113,12 +113,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.auth-form {
|
|
||||||
@media (width >= 1024px) {
|
|
||||||
padding: 2rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.auth-buttons) {
|
:global(.auth-buttons) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue