import type { ReactNode } from "react"; import { Card, CardContent, CardHeader } from "@/components/ui/card"; import { cn } from "@/lib/utils"; import { PublicNotice } from "../public-notice"; import { SiteFooter } from "@/components/shared/site-footer"; import { PRODUCT_EDITION } from "@/lib/product"; export function AuthShell({ children }: { children: ReactNode }) { return (
{children}
); } export function AuthCard({ title, description, children, className, }: { title?: string; description?: string; children: ReactNode; className?: string; }) { return ( {(title || description) && (
{PRODUCT_EDITION.slice(0, 1)}
{title &&

{title}

} {description &&

{description}

}
)} {children}
); } export function AuthErrorMessage({ message }: { message: string }) { if (!message) return null; return (
{message}
); }