import type { ReactNode } from "react"; import { Box, Image, Stack, Text, Title } from "@mantine/core"; import { ChevronDown, Globe } from "lucide-react"; const EDR_IMAGE = "/assets/edr_image.png"; const EDR_LOGO = "/assets/logo.svg"; /** Muted deep-green brand wash for the left panel. */ const LEFT_PANEL_BG = "linear-gradient(158deg, #2E6B55 0%, #21503F 46%, #16352A 100%)"; /** Radial opacity mask: image fully opaque at its center, fading to nothing at the edges. */ const IMAGE_FADE_MASK = "linear-gradient(-90deg, #000 95%, #0009 97%, #0000 100%), linear-gradient(0deg, #000 80%, #0001 100%)"; export interface AuthShellProps { children: ReactNode; /** Headline shown in the top-left of the green panel. */ tagline?: string; taglineBody?: string; } const LeftPanel = ({ tagline, taglineBody, }: Pick) => ( {/* Top-left: logo, title, description — stacked, left aligned. */} EDR Freight {tagline ?? "Ethiopian Djibouti Railway"} {taglineBody ?? "Manage bookings, track cargo, and run day-to-day logistics for the Ethio–Djibouti Railway from a single backoffice."} {/* Bottom-right: brand image with a center-to-edge opacity fade, no color tint. */} ); const RightPanelDecor = () => (
); const LanguageSelector = () => (
Eng
); export default function AuthShell({ children, tagline, taglineBody, }: AuthShellProps) { return (
{children}
); }