import type { ReactNode } from "react";
import { Card, CardContent, CardHeader } from "@/components/ui/card";
import { cn } from "@/lib/utils";
import { PublicNotice } from "../public-notice";
export function AuthShell({ children }: { children: ReactNode }) {
return (
);
}
export function AuthCard({
title,
description,
children,
className,
}: {
title?: string;
description?: string;
children: ReactNode;
className?: string;
}) {
return (
{(title || description) && (
S
{title && {title}
}
{description && {description}
}
)}
{children}
);
}
export function AuthErrorMessage({ message }: { message: string }) {
if (!message) return null;
return (
{message}
);
}