import { ChevronDown, GripVertical, Pencil, Trash2 } from "lucide-react";
import { cn } from "@/lib/utils";
import { t } from "@/i18n";
import { useItemDnd, useSectionDnd } from "@/board/dnd";
import { IconImg, ItemAnchor, StatusChip, hostOf } from "@/board/primitives";
import { WidgetContent } from "@/widgets";
import type {
BoardViewProps,
ItemViewProps,
RendererViews,
SectionViewProps,
} from "@/renderers/types";
// Cards — uniform compact grid. Second renderer; proves the seam while the
// code is small. Ported from mockups/a-vercel-mono.html.
function BoardView({ children }: BoardViewProps) {
return
{children}
;
}
function SectionView({ section, onToggle, onDelete, children }: SectionViewProps) {
const dnd = useSectionDnd(section.id);
return (