import { cn } from "@/lib/utils"; // The desk's two boxes (canvas `.block`, `.nextcard`). Server-safe. // // Panel a titled region of a page: a micro title, an optional aside on the // right of it (a count, an "all →" link), and the body. // Card one thing to act on, raised off the panel. `lit` gives it the // Signal edge -- the Next card, the one thing to do here. export function Panel({ title, aside, className, children, ...props }: Omit, "title"> & { title?: React.ReactNode; aside?: React.ReactNode }) { return (
{(title || aside) && (
{title &&

{title}

} {aside &&
{aside}
}
)} {children}
); } export function Card({ lit = false, className, children, ...props }: React.ComponentProps<"div"> & { lit?: boolean }) { return (
{children}
); }