import * as React from 'react'; import { Card, CardContent } from '@/components/ui/card'; import { cn } from '@/lib/utils'; import { LogoMinimised } from '@archer/ui/components'; export interface AuthLayoutProps { children: React.ReactNode; subtitle?: string; className?: string; } /** * AuthLayout Component * * Provides consistent layout for all authentication pages: * - Dark gradient background (slate-900 via primary-900) * - Centered card wrapper with shadow and border * - TWWIM branding header * - Responsive padding and animations * - Optional subtitle for page-specific context * * Usage: * ```tsx * *
...
*
* ``` */ export function AuthLayout({ children, subtitle, className }: AuthLayoutProps) { return (
{/* Header with TWWIM Branding */}
{subtitle && (

{subtitle}

)}
{/* Page-specific content */} {children}
); }