import Link from "next/link"; import { fmtAgo } from "@/lib/format"; import type { ProjectSummary } from "@/lib/project-types"; // --------------------------------------------------------------------------- // One card per project, whatever kind it is. // // This file contains no kind ids and no per-kind branches, and that is the // design working rather than an omission: a kind's summariser already rendered // its own facts ("19 clips · 4m46s · 17 sources", "3/4 cuts · 2 variants") and // its own flags. The grid lays out strings. Adding a kind changes nothing here. // --------------------------------------------------------------------------- export default function ProjectGrid({ projects, counts, }: { projects: ProjectSummary[]; counts?: Map; }) { if (projects.length === 0) { return (

Nothing matches that filter.

); } return ( ); }