"use client"; import Link from "next/link"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; /** * Visual wrapper used by every /(auth) page. Centralises the card chrome * so the per-page files only deal with form state. */ export function AuthCard({ title, description, footer, children, }: { title: string; description?: string; footer?: React.ReactNode; children: React.ReactNode; }) { return ( {title} {description ? {description} : null} {children} {footer ? (
{footer}
) : null}
); } export function AuthFooterLink({ prefix, href, label, }: { prefix: string; href: string; label: string; }) { return (

{prefix}{" "} {label}

); }