import { cn } from "@/lib/utils"; import { Box, Group, Stack, Text, ThemeIcon, Title } from "@mantine/core"; import { ShieldCheck, Train } from "lucide-react"; import type { ReactNode } from "react"; export interface AuthLayoutProps { children: ReactNode; parentClassName?: string; contentClassName?: string; left: { badge: string; title: string; description: string; features: string[]; stats: { label: string; value: string; footer: string; progress: string; }; }; } export default function AuthLayout({ children, parentClassName, contentClassName, left, }: AuthLayoutProps) { return ( {/* ── Left: branded panel ─────────────────────────────────────── */} {/* rail-line motif */} {/* corner glow */} {/* Brand */} EDR Freight Railway Logistics Platform {/* Headline + features */} {left.badge} {left.title} {left.description} {left.features.map((item) => ( {item} ))} {/* spacer keeps brand pinned top / content centered */} {/* ── Right: form area ────────────────────────────────────────── */} {/* Mobile brand */} EDR Freight Railway Logistics Platform {children} ); }