diff --git a/frontend/src/app/[lang]/login/page.tsx b/frontend/src/app/[lang]/login/page.tsx index cf8a61c..7c8e951 100644 --- a/frontend/src/app/[lang]/login/page.tsx +++ b/frontend/src/app/[lang]/login/page.tsx @@ -3,7 +3,7 @@ import { useState } from 'react'; import { useAuthStore } from '@/lib/store'; import { notify } from '@/lib/notify'; -import { LogIn, ArrowLeft } from 'lucide-react'; +import { ArrowLeft } from 'lucide-react'; import { AuthShell } from '@/components/auth/AuthShell'; import { AuthField } from '@/components/auth/AuthField'; import { useT } from '@/i18n/I18nProvider'; @@ -33,7 +33,6 @@ export default function LoginPage() { return ( } title={tl.title} subtitle={tl.subtitle} altPrompt={tl.altPrompt} diff --git a/frontend/src/app/[lang]/register/page.tsx b/frontend/src/app/[lang]/register/page.tsx index ff939d7..f262c85 100644 --- a/frontend/src/app/[lang]/register/page.tsx +++ b/frontend/src/app/[lang]/register/page.tsx @@ -3,7 +3,7 @@ import { useState } from 'react'; import { useAuthStore } from '@/lib/store'; import { notify } from '@/lib/notify'; -import { UserPlus, ArrowLeft } from 'lucide-react'; +import { ArrowLeft } from 'lucide-react'; import { AuthShell } from '@/components/auth/AuthShell'; import { AuthField } from '@/components/auth/AuthField'; import { useT } from '@/i18n/I18nProvider'; @@ -32,7 +32,6 @@ export default function RegisterPage() { return ( } title={tr.title} subtitle={tr.subtitle} altPrompt={tr.altPrompt} diff --git a/frontend/src/components/auth/AuthShell.tsx b/frontend/src/components/auth/AuthShell.tsx index 163eadb..cfbf6d1 100644 --- a/frontend/src/components/auth/AuthShell.tsx +++ b/frontend/src/components/auth/AuthShell.tsx @@ -6,12 +6,11 @@ import { useT } from '@/i18n/I18nProvider'; import { LanguageSwitcher } from '@/i18n/LanguageSwitcher'; import { Logo } from '@/components/landing/Logo'; -// Cinematic auth shell that echoes the Abrban landing: a calm blue sky (the -// "clear sky" finale), soft drifting clouds, a warm sun glow, the brand logo, -// and the form inside a frosted dark-glass panel. Direction is inherited from -// the locale-aware root layout. +// Auth shell that carries the Abrban brand into a calmer, more premium key: a +// deep blue gradient, a faint infrastructure grid, soft brand-blue glows and a +// vignette — no fluffy clouds — with the form inside the same frosted dark-glass +// panel used across the landing. Direction is inherited from the root layout. export function AuthShell({ - icon, title, subtitle, children, @@ -19,7 +18,6 @@ export function AuthShell({ altHref, altLabel, }: { - icon: ReactNode; title: string; subtitle: string; children: ReactNode; @@ -29,22 +27,20 @@ export function AuthShell({ }) { const t = useT(); return ( -
- {/* Sky atmosphere: warm sun glow, drifting clouds, soft vignette */} -
-
-
-
-
-
- {/* Horizon: darken the lower area so the panel + footer link stay legible */} -
+
+ {/* Background atmosphere */} +
+ {/* Deep brand gradient */} +
+ {/* Fine infrastructure grid, faded toward the edges */} +
+ {/* Soft brand-blue glows */} +
+
+ {/* Crisp hairline along the very top */} +
+ {/* Vignette to focus the centre */} +
{/* Header */} @@ -67,9 +63,6 @@ export function AuthShell({
-
- {icon} -

{title}

{subtitle}