{title}
{subtitle}
'use client'; import type { ReactNode } from 'react'; import { ArrowLeft } from 'lucide-react'; import { Link } from '@/i18n/Link'; import { useT } from '@/i18n/I18nProvider'; import { LanguageSwitcher } from '@/i18n/LanguageSwitcher'; import { Logo } from '@/components/landing/Logo'; import { AuthSky } from './AuthSky'; // Auth shell that carries the Abrban brand straight from the landing: the same // bright, cloud-filled sky (see AuthSky) sits behind the form, which lives in the // same frosted dark-glass panel — so login/register read as one world with the // public landing. Direction is inherited from the root layout. export function AuthShell({ title, subtitle, children, altPrompt, altHref, altLabel, }: { title: string; subtitle: string; children: ReactNode; altPrompt?: string; altHref?: string; altLabel?: string; }) { const t = useT(); return (
{subtitle}