Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
refactor: redesigned login screen (#2389)
Kyle Mendell6705a93cd22e
diff --git a/frontend/messages/en.json b/frontend/messages/en.jsonindex 2b301e1b7..c57cbbeb8 100644--- a/frontend/messages/en.json+++ b/frontend/messages/en.json@@ -362,6 +362,8 @@"_comment_auth": "=== AUTHENTICATION ===","auth_welcome_back_title": "Welcome back","auth_login_subtitle": "Sign in to manage your containers",+ "auth_tagline_line1": "Modern Docker Management,",+ "auth_tagline_line2": "Designed for everyone.","auth_login_problem_title": "Login Problem","auth_failed_title": "Authentication Failed","auth_no_login_methods_title": "No Login Methods Configured",diff --git a/frontend/package.json b/frontend/package.jsonindex 8e318e874..2b059a940 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,89 +1,88 @@{- "name": "arcane-frontend",- "private": true,- "version": "1.17.4",- "type": "module",- "scripts": {- "dev": "vite dev --port 3000 --host",- "build": "vite build",- "preview": "vite preview --port 3000",- "lint-staged": "lint-staged",- "check": "svelte-kit sync && svelte-check-rs --tsconfig ./tsconfig.json",- "format": "prettier --write ./src",- "format:check": "prettier --check ./src",- "check:watch": "svelte-kit sync && svelte-check-rs --tsconfig ./tsconfig.json --watch",- "knip": "knip",- "i18n:unused": "i18n-unused display-unused",- "i18n:remove": "i18n-unused remove-unused",- "i18n:mark": "i18n-unused mark-unused"- },- "dependencies": {- "@codemirror/autocomplete": "^6.20.1",- "@codemirror/lang-yaml": "^6.1.3",- "@codemirror/language": "^6.12.3",- "@codemirror/legacy-modes": "^6.5.2",- "@codemirror/lint": "^6.9.5",- "@codemirror/merge": "^6.12.1",- "@codemirror/state": "^6.6.0",- "@codemirror/view": "^6.41.0",- "@lezer/highlight": "^1.2.3",- "@sveltejs/adapter-static": "^3.0.10",- "@sveltejs/kit": "^2.57.1",- "@tanstack/svelte-query": "^6.1.14",- "@tanstack/table-core": "^8.21.3",- "@uiw/codemirror-themes": "^4.25.9",- "@xterm/addon-fit": "^0.11.0",- "@xterm/xterm": "^6.0.0",- "@xyflow/svelte": "^1.5.2",- "ajv": "^8.18.0",- "ansi-to-html": "^0.7.2",- "date-fns": "^4.1.0",- "embla-carousel-svelte": "^8.6.0",- "js-yaml": "^4.1.1",- "ky": "^1.12.0",- "prettier": "^3.8.2",- "prettier-plugin-svelte": "^3.5.1",- "prettier-plugin-tailwindcss": "^0.7.2",- "svelte": "^5.55.3",- "svelte-codemirror-editor": "^2.1.0",- "svelte-motion": "^0.12.2",- "yaml": "^2.8.3"- },- "devDependencies": {- "@iconify/json": "^2.2.461",- "@inlang/paraglide-js": "2.15.1",- "@internationalized/date": "^3.12.0",- "@prettier/plugin-oxc": "^0.1.3",- "@sveltejs/vite-plugin-svelte": "^7.0.0",- "@tailwindcss/vite": "^4.2.2",- "@tanstack/eslint-plugin-query": "^5.99.0",- "@tanstack/svelte-query-devtools": "^6.1.14",- "@types/js-yaml": "^4.0.9",- "@types/node": "^25.5.0",- "@typescript/native-preview": "7.0.0-dev.20260322.1",- "bits-ui": "^2.17.3",- "clsx": "^2.1.1",- "formsnap": "^2.0.1",- "isomorphic-dompurify": "^3.3.0",- "knip": "^6.0.1",- "mode-watcher": "^1.1.0",- "paneforge": "^1.0.2",- "runed": "^0.37.1",- "svelte-check": "^4.4.6",- "svelte-check-rs": "^0.9.6",- "svelte-sonner": "^1.1.0",- "svelte-toolbelt": "^0.10.6",- "sveltekit-superforms": "^2.30.1",- "tailwind-merge": "^3.5.0",- "tailwind-variants": "^3.2.2",- "tailwindcss": "^4.2.1",- "tsx": "^4.21.0",- "tw-animate-css": "^1.4.0",- "typescript": "^6.0.2",- "unplugin-icons": "^23.0.1",- "vaul-svelte": "1.0.0-next.7",- "vite": "^8.0.8",- "vite-plugin-devtools-json": "^1.0.0",- "zod": "^4.3.6"- }+ "name": "arcane-frontend",+ "private": true,+ "version": "1.17.4",+ "type": "module",+ "scripts": {+ "dev": "vite dev --port 3000 --host",+ "build": "vite build",+ "preview": "vite preview --port 3000",+ "lint-staged": "lint-staged",+ "check": "svelte-kit sync && svelte-check-rs --tsconfig ./tsconfig.json",+ "format": "prettier --write ./src",+ "format:check": "prettier --check ./src",+ "check:watch": "svelte-kit sync && svelte-check-rs --tsconfig ./tsconfig.json --watch",+ "knip": "knip",+ "i18n:unused": "i18n-unused display-unused",+ "i18n:remove": "i18n-unused remove-unused",+ "i18n:mark": "i18n-unused mark-unused"+ },+ "dependencies": {+ "@codemirror/autocomplete": "^6.20.1",+ "@codemirror/lang-yaml": "^6.1.3",+ "@codemirror/language": "^6.12.3",+ "@codemirror/legacy-modes": "^6.5.2",+ "@codemirror/lint": "^6.9.5",+ "@codemirror/merge": "^6.12.1",+ "@codemirror/state": "^6.6.0",+ "@codemirror/view": "^6.41.0",+ "@lezer/highlight": "^1.2.3",+ "@sveltejs/adapter-static": "^3.0.10",+ "@sveltejs/kit": "^2.57.1",+ "@tanstack/svelte-query": "^6.1.14",+ "@tanstack/table-core": "^8.21.3",+ "@uiw/codemirror-themes": "^4.25.9",+ "@xterm/addon-fit": "^0.11.0",+ "@xterm/xterm": "^6.0.0",+ "@xyflow/svelte": "^1.5.2",+ "ajv": "^8.18.0",+ "ansi-to-html": "^0.7.2",+ "date-fns": "^4.1.0",+ "embla-carousel-svelte": "^8.6.0",+ "js-yaml": "^4.1.1",+ "ky": "^1.12.0",+ "prettier": "^3.8.2",+ "prettier-plugin-svelte": "^3.5.1",+ "prettier-plugin-tailwindcss": "^0.7.2",+ "svelte": "^5.55.3",+ "svelte-codemirror-editor": "^2.1.0",+ "yaml": "^2.8.3"+ },+ "devDependencies": {+ "@iconify/json": "^2.2.461",+ "@inlang/paraglide-js": "2.15.1",+ "@internationalized/date": "^3.12.0",+ "@prettier/plugin-oxc": "^0.1.3",+ "@sveltejs/vite-plugin-svelte": "^7.0.0",+ "@tailwindcss/vite": "^4.2.2",+ "@tanstack/eslint-plugin-query": "^5.99.0",+ "@tanstack/svelte-query-devtools": "^6.1.14",+ "@types/js-yaml": "^4.0.9",+ "@types/node": "^25.5.0",+ "@typescript/native-preview": "7.0.0-dev.20260322.1",+ "bits-ui": "^2.17.3",+ "clsx": "^2.1.1",+ "formsnap": "^2.0.1",+ "isomorphic-dompurify": "^3.3.0",+ "knip": "^6.0.1",+ "mode-watcher": "^1.1.0",+ "paneforge": "^1.0.2",+ "runed": "^0.37.1",+ "svelte-check": "^4.4.6",+ "svelte-check-rs": "^0.9.6",+ "svelte-sonner": "^1.1.0",+ "svelte-toolbelt": "^0.10.6",+ "sveltekit-superforms": "^2.30.1",+ "tailwind-merge": "^3.5.0",+ "tailwind-variants": "^3.2.2",+ "tailwindcss": "^4.2.1",+ "tsx": "^4.21.0",+ "tw-animate-css": "^1.4.0",+ "typescript": "^6.0.2",+ "unplugin-icons": "^23.0.1",+ "vaul-svelte": "1.0.0-next.7",+ "vite": "^8.0.8",+ "vite-plugin-devtools-json": "^1.0.0",+ "zod": "^4.3.6"+ }}diff --git a/frontend/src/routes/(auth)/login/+page.svelte b/frontend/src/routes/(auth)/login/+page.svelteindex 8bf8838f1..178dd4be4 100644--- a/frontend/src/routes/(auth)/login/+page.svelte+++ b/frontend/src/routes/(auth)/login/+page.svelte@@ -1,6 +1,5 @@<script lang="ts">import { Label } from '$lib/components/ui/label/index.js';- import * as Card from '$lib/components/ui/card/index.js';import * as Alert from '$lib/components/ui/alert/index.js';import * as InputGroup from '$lib/components/ui/input-group/index.js';import { AlertIcon, LockIcon, UserIcon, GithubIcon, OpenIdIcon } from '$lib/icons';@@ -11,7 +10,6 @@import { authService } from '$lib/services/auth-service';import { queryKeys } from '$lib/query/query-keys';import { getApplicationLogo } from '$lib/utils/image.util';- import { Motion } from 'svelte-motion';import { ArcaneButton } from '$lib/components/arcane-button/index.js';import { onMount } from 'svelte';import { createMutation, useQueryClient } from '@tanstack/svelte-query';@@ -93,240 +91,337 @@}const showDivider = $derived(showOidcLoginButton && showLocalLoginForm);-- function getOrbAnimation(startX: number, startY: number, duration: number, delay: number) {- const xOffset = startX * 4;- const yOffset = startY * 4;-- return {- animate: {- x: [-20 + xOffset, 60 + xOffset, 20 + xOffset, -80 + xOffset, -20 + xOffset],- y: [-20 + yOffset, -80 + yOffset, 20 + yOffset, 60 + yOffset, -20 + yOffset],- scale: [1, 1.15, 0.95, 1.1, 1]- },- transition: {- duration: duration,- ease: 'easeInOut',- repeat: Infinity,- delay: delay- }- };- }-- const orb1Anim = getOrbAnimation(-20, 30, 18, 0.5);- const orb2Anim = getOrbAnimation(35, -10, 22, 1.2);- const orb3Anim = getOrbAnimation(-15, -30, 20, 0.8);- const orb4Anim = getOrbAnimation(25, 15, 16, 1.8);</script>-<div class="fixed inset-0 overflow-hidden">- <Motion animate={orb1Anim.animate} transition={orb1Anim.transition} let:motion>- <div- use:motion- class="bg-primary absolute top-[-150px] left-[10%] h-[330px] w-[330px] rounded-full opacity-30 blur-[57px] md:h-[500px] md:w-[500px] md:blur-[85px]"- ></div>- </Motion>- <Motion animate={orb2Anim.animate} transition={orb2Anim.transition} let:motion>- <div- use:motion- class="bg-primary absolute right-[15%] bottom-[-150px] h-[280px] w-[280px] rounded-full opacity-30 blur-[57px] md:h-[420px] md:w-[420px] md:blur-[85px]"- ></div>- </Motion>- <Motion animate={orb3Anim.animate} transition={orb3Anim.transition} let:motion>- <div- use:motion- class="bg-primary absolute top-[20%] right-[-120px] h-[250px] w-[250px] rounded-full opacity-30 blur-[57px] md:h-[380px] md:w-[380px] md:blur-[85px]"- ></div>- </Motion>- <Motion animate={orb4Anim.animate} transition={orb4Anim.transition} let:motion>- <div- use:motion- class="bg-primary absolute bottom-[30%] left-[-100px] h-[210px] w-[210px] rounded-full opacity-30 blur-[57px] md:h-[320px] md:w-[320px] md:blur-[85px]"- ></div>- </Motion>+<svelte:head>+ <title>{m.layout_title()}</title>+</svelte:head>++<div class="ambient" aria-hidden="true">+ <div class="ambient__mesh"></div>+ <div class="ambient__shimmer"></div>+ <div class="ambient__grid"></div>+ <div class="ambient__noise"></div>+ <div class="ambient__vignette"></div></div>-<div class="relative flex min-h-dvh flex-col items-center p-6 md:p-10">- <div class="flex w-full flex-1 flex-col items-center justify-center">- <div class="w-full max-w-md">- <div class="mb-8 flex justify-center">- <div class="bg-card/60 flex items-center justify-center rounded-2xl border p-6 shadow-lg backdrop-blur-2xl">- <img class="h-24 w-auto" src={logoUrl} alt={m.layout_title()} />- </div>+<div class="relative z-10 grid min-h-dvh grid-cols-1 lg:grid-cols-[1.05fr_minmax(420px,0.95fr)]">+ <aside class="showcase relative hidden flex-col justify-between overflow-hidden p-10 lg:flex xl:p-14">+ <div class="relative z-10 flex items-center gap-3">+ <div class="bg-card/40 ring-border/40 inline-flex size-10 items-center justify-center rounded-xl border ring-1">+ <img class="h-6 w-auto" src={logoUrl} alt="" /></div>+ <div class="flex flex-col leading-tight">+ <span class="text-foreground/90 text-sm font-medium tracking-wide">{m.layout_title()}</span>+ {#if data.versionInformation?.displayVersion}+ <span class="text-muted-foreground/60 font-mono text-[10px] tracking-wider"+ >{data.versionInformation.displayVersion}</span+ >+ {/if}+ </div>+ </div>- <Card.Root class="bg-card/60 flex flex-col gap-6 overflow-hidden border shadow-lg backdrop-blur-2xl">- <Card.Content class="p-8">- <div class="mb-8 flex flex-col items-center text-center">- <h1 class="text-3xl font-bold tracking-tight">{m.auth_welcome_back_title()}</h1>- <p class="text-muted-foreground mt-2 text-sm text-balance">{m.auth_login_subtitle()}</p>- </div>-- <div class="space-y-4">- {#if data.error}- <Alert.Root variant="destructive" class="bg-card/60 border backdrop-blur-2xl">- <AlertIcon class="size-4" />- <Alert.Title>{m.auth_login_problem_title()}</Alert.Title>- <Alert.Description>- {#if data.error === 'oidc_invalid_response'}- {m.auth_oidc_invalid_response()}- {:else if data.error === 'oidc_misconfigured'}- {m.auth_oidc_misconfigured()}- {:else if data.error === 'oidc_userinfo_failed'}- {m.auth_oidc_userinfo_failed()}- {:else if data.error === 'oidc_missing_sub'}- {m.auth_oidc_missing_sub()}- {:else if data.error === 'oidc_email_collision'}- {m.auth_oidc_email_collision()}- {:else if data.error === 'oidc_token_error'}- {m.auth_oidc_token_error()}- {:else if data.error === 'user_processing_failed'}- {m.auth_user_processing_failed()}- {:else if data.errorMessage}- {data.errorMessage}- {:else}- {m.auth_unexpected_error()}- {/if}- </Alert.Description>- </Alert.Root>- {/if}+ <div class="relative z-10 max-w-xl">+ <h2 class="text-foreground text-5xl leading-[1.05] font-semibold tracking-tight text-balance xl:text-6xl">+ {m.auth_tagline_line1()}+ <span class="to-foreground/70 bg-gradient-to-br from-[var(--primary)] via-[var(--primary)] bg-clip-text text-transparent"+ >{m.auth_tagline_line2()}</span+ >+ </h2>+ </div>- {#if data.errorMessage && !data.error}- <Alert.Root variant="destructive" class="bg-card/60 border backdrop-blur-2xl">- <AlertIcon class="size-4" />- <Alert.Title>{m.auth_login_problem_title()}</Alert.Title>- <Alert.Description>{data.errorMessage}</Alert.Description>- </Alert.Root>- {/if}+ <div class="relative z-10 flex items-end justify-between gap-6">+ <a+ href="https://github.com/ofkm/arcane"+ target="_blank"+ rel="noopener noreferrer"+ class="bg-card/50 ring-border/40 text-muted-foreground hover:text-foreground hover:bg-card/70 inline-flex items-center gap-1.5 rounded-full border px-3 py-1.5 text-xs shadow-sm ring-1 transition-colors"+ >+ <GithubIcon class="size-3.5" />+ {m.common_view_on_github()}+ </a>+ </div>+ </aside>- {#if error}- <Alert.Root variant="destructive" class="bg-card/60 border backdrop-blur-2xl">- <AlertIcon class="size-4" />- <Alert.Title>{m.auth_failed_title()}</Alert.Title>- <Alert.Description>{error}</Alert.Description>- </Alert.Root>- {/if}+ <section class="form-pane relative flex min-h-dvh flex-col items-center justify-center p-6 sm:p-10 lg:p-10 xl:p-14">+ <div class="mb-8 flex w-full max-w-md justify-center lg:hidden">+ <div+ class="bg-card/80 ring-border/40 flex items-center justify-center rounded-2xl border p-5 shadow-[0_8px_32px_-8px_rgba(0,0,0,0.35)] ring-1"+ >+ <img class="h-16 w-auto" src={logoUrl} alt={m.layout_title()} />+ </div>+ </div>- {#if !showLocalLoginForm && !showOidcLoginButton}- <Alert.Root variant="destructive" class="bg-card/60 border backdrop-blur-2xl">- <AlertIcon class="size-4" />- <Alert.Title>{m.auth_no_login_methods_title()}</Alert.Title>- <Alert.Description>{m.auth_no_login_methods_description()}</Alert.Description>- </Alert.Root>- {/if}+ <div class="login-card-wrap relative w-full sm:w-[26rem] sm:max-w-full">+ <div class="bg-primary/70 mb-8 h-px w-10 shadow-[0_0_8px_var(--primary)]"></div>- {#if showOidcLoginButton && !showLocalLoginForm}- <ArcaneButton- hoverEffect="none"- action="oidc_login"- onclick={() => handleOidcLogin()}- loading={isOidcLoading}- disabled={isLocalLoading}- icon={null}- customLabel=""- >- {#if oidcProviderLogoUrl}- <img src={oidcProviderLogoUrl} alt="" class="size-4 object-contain" />- {:else}- <OpenIdIcon class="size-4" />- {/if}- {oidcButtonLabel}- </ArcaneButton>- {/if}+ <div class="mb-8 flex flex-col text-left">+ <h1 class="text-3xl font-semibold tracking-tight sm:text-[2rem]">{m.auth_welcome_back_title()}</h1>+ <p class="text-muted-foreground mt-2 text-sm">{m.auth_login_subtitle()}</p>+ </div>- {#if showLocalLoginForm}- <form onsubmit={handleLogin} class="space-y-4">- <div class="space-y-2">- <Label for="username" class="text-xs">{m.common_username()}</Label>- <InputGroup.Root>- <InputGroup.Addon>- <UserIcon />- </InputGroup.Addon>- <InputGroup.Input- id="username"- name="username"- type="text"- autocomplete="username"- required- bind:value={username}- placeholder={m.auth_username_placeholder()}- disabled={isLocalLoading || isOidcLoading}- />- </InputGroup.Root>- </div>- <div class="space-y-2">- <Label for="password" class="text-xs">{m.common_password()}</Label>- <InputGroup.Root>- <InputGroup.Addon>- <LockIcon />- </InputGroup.Addon>- <InputGroup.Input- id="password"- name="password"- type="password"- autocomplete="current-password"- required- bind:value={password}- placeholder={m.auth_password_placeholder()}- disabled={isLocalLoading || isOidcLoading}- />- </InputGroup.Root>- </div>- <ArcaneButton type="submit" action="login" loading={isLocalLoading} disabled={isOidcLoading} hoverEffect="none" />- </form>-- {#if showDivider}- <div class="relative my-4">- <div class="absolute inset-0 flex items-center">- <div class="border-border/60 w-full border-t"></div>- </div>- <div class="relative flex justify-center text-xs">- <span class="bg-card/60 text-muted-foreground rounded-full border px-3 py-1 backdrop-blur-2xl">- {m.auth_or_continue()}- </span>- </div>- </div>+ <div class="space-y-4">+ {#if data.error}+ <Alert.Root variant="destructive">+ <AlertIcon class="size-4" />+ <Alert.Title>{m.auth_login_problem_title()}</Alert.Title>+ <Alert.Description>+ {#if data.error === 'oidc_invalid_response'}+ {m.auth_oidc_invalid_response()}+ {:else if data.error === 'oidc_misconfigured'}+ {m.auth_oidc_misconfigured()}+ {:else if data.error === 'oidc_userinfo_failed'}+ {m.auth_oidc_userinfo_failed()}+ {:else if data.error === 'oidc_missing_sub'}+ {m.auth_oidc_missing_sub()}+ {:else if data.error === 'oidc_email_collision'}+ {m.auth_oidc_email_collision()}+ {:else if data.error === 'oidc_token_error'}+ {m.auth_oidc_token_error()}+ {:else if data.error === 'user_processing_failed'}+ {m.auth_user_processing_failed()}+ {:else if data.errorMessage}+ {data.errorMessage}+ {:else}+ {m.auth_unexpected_error()}{/if}+ </Alert.Description>+ </Alert.Root>+ {/if}- {#if showOidcLoginButton && showDivider}- <ArcaneButton- action="oidc_login"- hoverEffect="none"- onclick={() => handleOidcLogin()}- loading={isOidcLoading}- disabled={isLocalLoading}- icon={null}- customLabel=""+ {#if data.errorMessage && !data.error}+ <Alert.Root variant="destructive">+ <AlertIcon class="size-4" />+ <Alert.Title>{m.auth_login_problem_title()}</Alert.Title>+ <Alert.Description>{data.errorMessage}</Alert.Description>+ </Alert.Root>+ {/if}++ {#if error}+ <Alert.Root variant="destructive">+ <AlertIcon class="size-4" />+ <Alert.Title>{m.auth_failed_title()}</Alert.Title>+ <Alert.Description>{error}</Alert.Description>+ </Alert.Root>+ {/if}++ {#if !showLocalLoginForm && !showOidcLoginButton}+ <Alert.Root variant="destructive">+ <AlertIcon class="size-4" />+ <Alert.Title>{m.auth_no_login_methods_title()}</Alert.Title>+ <Alert.Description>{m.auth_no_login_methods_description()}</Alert.Description>+ </Alert.Root>+ {/if}++ {#if showOidcLoginButton && !showLocalLoginForm}+ <ArcaneButton+ hoverEffect="none"+ action="oidc_login"+ onclick={() => handleOidcLogin()}+ loading={isOidcLoading}+ disabled={isLocalLoading}+ icon={null}+ customLabel=""+ >+ {#if oidcProviderLogoUrl}+ <img src={oidcProviderLogoUrl} alt="" class="size-4 object-contain" />+ {:else}+ <OpenIdIcon class="size-4" />+ {/if}+ {oidcButtonLabel}+ </ArcaneButton>+ {/if}++ {#if showLocalLoginForm}+ <form onsubmit={handleLogin} class="space-y-4">+ <div class="space-y-2">+ <Label for="username" class="text-xs">{m.common_username()}</Label>+ <InputGroup.Root>+ <InputGroup.Addon>+ <UserIcon />+ </InputGroup.Addon>+ <InputGroup.Input+ id="username"+ name="username"+ type="text"+ autocomplete="username"+ required+ bind:value={username}+ placeholder={m.auth_username_placeholder()}+ disabled={isLocalLoading || isOidcLoading}+ />+ </InputGroup.Root>+ </div>+ <div class="space-y-2">+ <Label for="password" class="text-xs">{m.common_password()}</Label>+ <InputGroup.Root>+ <InputGroup.Addon>+ <LockIcon />+ </InputGroup.Addon>+ <InputGroup.Input+ id="password"+ name="password"+ type="password"+ autocomplete="current-password"+ required+ bind:value={password}+ placeholder={m.auth_password_placeholder()}+ disabled={isLocalLoading || isOidcLoading}+ />+ </InputGroup.Root>+ </div>+ <ArcaneButton type="submit" action="login" loading={isLocalLoading} disabled={isOidcLoading} hoverEffect="none" />+ </form>++ {#if showDivider}+ <div class="relative my-4">+ <div class="absolute inset-0 flex items-center">+ <div class="border-border/60 w-full border-t"></div>+ </div>+ <div class="relative flex justify-center text-xs">+ <span+ class="bg-card/70 ring-border/40 text-muted-foreground rounded-full border px-3 py-1 shadow-sm ring-1 backdrop-blur-md">- {#if oidcProviderLogoUrl}- <img src={oidcProviderLogoUrl} alt="" class="size-4 object-contain" />- {:else}- <OpenIdIcon class="size-4" />- {/if}- {oidcButtonLabel}- </ArcaneButton>+ {m.auth_or_continue()}+ </span>+ </div>+ </div>+ {/if}++ {#if showOidcLoginButton && showDivider}+ <ArcaneButton+ action="oidc_login"+ hoverEffect="none"+ onclick={() => handleOidcLogin()}+ loading={isOidcLoading}+ disabled={isLocalLoading}+ icon={null}+ customLabel=""+ >+ {#if oidcProviderLogoUrl}+ <img src={oidcProviderLogoUrl} alt="" class="size-4 object-contain" />+ {:else}+ <OpenIdIcon class="size-4" />{/if}- {/if}- </div>- </Card.Content>- </Card.Root>- </div>- </div>+ {oidcButtonLabel}+ </ArcaneButton>+ {/if}+ {/if}+ </div>- <div class="mt-auto pt-8 pb-4">- <div class="text-muted-foreground flex flex-col items-center justify-center gap-2">- <a- href="https://github.com/ofkm/arcane"- target="_blank"- rel="noopener noreferrer"- class="bg-card/60 hover:text-primary inline-flex items-center gap-1.5 rounded-full border px-3 py-1.5 text-xs shadow-sm backdrop-blur-2xl transition-colors"- >- <GithubIcon class="size-4" />- {m.common_view_on_github()}- </a>- {#if data.versionInformation?.displayVersion}- <span class="text-xs opacity-50">{data.versionInformation.displayVersion}</span>- {/if}+ <div class="mt-8 flex items-center justify-between gap-4 lg:hidden">+ <a+ href="https://github.com/ofkm/arcane"+ target="_blank"+ rel="noopener noreferrer"+ class="bg-card/50 ring-border/40 text-muted-foreground hover:text-foreground hover:bg-card/70 inline-flex items-center gap-1.5 rounded-full border px-3 py-1.5 text-xs shadow-sm ring-1 transition-colors"+ >+ <GithubIcon class="size-3.5" />+ {m.common_view_on_github()}+ </a>+ {#if data.versionInformation?.displayVersion}+ <span class="text-muted-foreground/60 font-mono text-[11px] tracking-wider"+ >{data.versionInformation.displayVersion}</span+ >+ {/if}+ </div></div>- </div>+ </section></div>++<style>+ .ambient {+ position: fixed;+ inset: 0;+ z-index: 0;+ overflow: hidden;+ pointer-events: none;+ background: var(--background);+ contain: strict;+ }++ .ambient__mesh {+ position: absolute;+ inset: -20%;+ background:+ radial-gradient(ellipse 60% 50% at 18% 22%, color-mix(in oklab, var(--primary) 14%, transparent) 0%, transparent 60%),+ radial-gradient(ellipse 55% 45% at 82% 78%, color-mix(in oklab, var(--primary) 10%, transparent) 0%, transparent 65%),+ radial-gradient(ellipse 45% 55% at 78% 18%, color-mix(in oklab, var(--primary) 8%, transparent) 0%, transparent 60%),+ radial-gradient(ellipse 50% 40% at 22% 82%, color-mix(in oklab, var(--primary) 6%, transparent) 0%, transparent 65%);+ background-repeat: no-repeat;+ filter: saturate(1);+ opacity: 0.5;+ }++ .ambient__shimmer {+ position: absolute;+ top: -400px;+ left: -400px;+ width: 3000px;+ height: 3000px;+ background: conic-gradient(+ from 0deg,+ transparent 0deg,+ color-mix(in oklab, var(--primary) 8%, transparent) 60deg,+ transparent 120deg,+ color-mix(in oklab, var(--primary) 5%, transparent) 200deg,+ transparent 280deg,+ color-mix(in oklab, var(--primary) 7%, transparent) 340deg,+ transparent 360deg+ );+ opacity: 0.4;+ will-change: transform;+ transform: translateZ(0) rotate(0deg);+ transform-origin: center center;+ animation: shimmerRotate 60s linear infinite;+ }++ @keyframes shimmerRotate {+ from {+ transform: translateZ(0) rotate(0deg);+ }+ to {+ transform: translateZ(0) rotate(360deg);+ }+ }++ .ambient__grid {+ position: absolute;+ inset: 0;+ background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h48v48H0z' fill='none'/%3E%3Cpath d='M47.5 0v48M0 47.5h48' stroke='rgba(150, 150, 150, 1)' stroke-width='1' stroke-opacity='0.15'/%3E%3C/svg%3E");+ background-repeat: repeat;+ background-size: 48px 48px;+ mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);+ -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);+ opacity: 0.5;+ }++ .ambient__noise {+ position: absolute;+ inset: 0;+ opacity: 0.05;+ background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");+ }++ .ambient__vignette {+ position: absolute;+ inset: 0;+ background: radial-gradient(ellipse at center, transparent 40%, color-mix(in oklab, var(--background) 80%, transparent) 100%);+ }++ .showcase {+ position: relative;+ isolation: isolate;+ }++ .form-pane {+ isolation: isolate;+ contain: layout paint;+ }++ @media (prefers-reduced-motion: reduce) {+ .ambient__shimmer {+ animation: none;+ }+ }+</style>diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 481856d9e..1c3a9d4b4 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -155,9 +155,6 @@ importers:svelte-codemirror-editor:specifier: ^2.1.0- svelte-motion:- specifier: ^0.12.2- version: 0.12.2([email protected](@typescript-eslint/[email protected]))yaml:specifier: ^2.8.3version: 2.8.3@@ -2267,17 +2264,11 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw==}- '@types/[email protected]':- resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==}-'@types/[email protected]':resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}peerDependencies:'@types/react': ^19.2.0- '@types/[email protected]':- resolution: {integrity: sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==}-'@types/[email protected]':resolution: {integrity: sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==}@@ -2967,9 +2958,6 @@ packages:svelte: ^5.0.0sveltekit-superforms: ^2.19.0- resolution: {integrity: sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==}-resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}@@ -3021,9 +3009,6 @@ packages:resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}engines: {node: '>=8'}- resolution: {integrity: sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==}-resolution: {integrity: sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==}engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}@@ -3539,9 +3524,6 @@ packages:engines: {node: '>=18'}hasBin: true- resolution: {integrity: sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA==}-resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}engines: {node: ^10 || ^12 || >=14}@@ -3865,9 +3847,6 @@ packages:resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==}- resolution: {integrity: sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q==}-resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==}engines: {node: '>= 12.0.0'}@@ -3909,11 +3888,6 @@ packages:codemirror: ^6.0.0svelte: ^5.0.0- resolution: {integrity: sha512-7RrdRz9iVP55B9HT/C0hYW3pyrKlF61kAby/AkDtOAP0uHFQDrfd0qQetDC81cEsK9b40jt+jfcqSAXcA7LPEw==}- peerDependencies:- svelte: '>=3.35.0 || ^4.0.0 || ^5.0.0 || ^5.0.0-next.0'-resolution: {integrity: sha512-3lYM6ZIqWe+p9vwwWHGWP/ZdvHiUtzURsud2quIxivrX4rvpXh6i+geBGn0m3JS6KwW6W8VgbOl3xQMcDuh6gg==}peerDependencies:@@ -4052,9 +4026,6 @@ packages:resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}engines: {node: '>=6'}- resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==}-resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}@@ -5746,17 +5717,10 @@ snapshots:dependencies:undici-types: 7.18.2- '@types/[email protected]': {}-'@types/[email protected](@types/[email protected])':dependencies:'@types/react': 19.2.14- '@types/[email protected]':- dependencies:- '@types/prop-types': 15.7.15- csstype: 3.2.3-'@types/[email protected]':dependencies:csstype: 3.2.3@@ -6529,10 +6493,6 @@ snapshots:svelte-toolbelt: 0.5.0([email protected](@typescript-eslint/[email protected]))sveltekit-superforms: 2.30.1(@sveltejs/[email protected](@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected](@typescript-eslint/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))(@types/[email protected])([email protected](@typescript-eslint/[email protected]))([email protected])- dependencies:- tslib: 2.4.0-optional: true@@ -6573,8 +6533,6 @@ snapshots:- [email protected]: {}-dependencies:'@exodus/bytes': 1.15.0@@ -7162,13 +7120,6 @@ snapshots:optionalDependencies:fsevents: 2.3.2- dependencies:- framesync: 6.1.2- hey-listen: 1.0.8- style-value-types: 5.1.2- tslib: 2.4.0-dependencies:nanoid: 3.3.11@@ -7493,11 +7444,6 @@ snapshots:dependencies:inline-style-parser: 0.2.7- dependencies:- hey-listen: 1.0.8- tslib: 2.4.0-dependencies:client-only: 0.0.1@@ -7537,15 +7483,6 @@ snapshots:codemirror: 6.0.2svelte: 5.55.3(@typescript-eslint/[email protected])- dependencies:- '@types/react': 18.3.28- framesync: 6.1.2- popmotion: 11.0.5- style-value-types: 5.1.2- svelte: 5.55.3(@typescript-eslint/[email protected])- tslib: 2.8.1-dependencies:runed: 0.28.0([email protected](@typescript-eslint/[email protected]))@@ -7709,8 +7646,6 @@ snapshots:minimist: 1.2.8strip-bom: 3.0.0- [email protected]: {}-