import type { ProjectSummary } from "@dci/core"; import Link from "next/link"; import { EstimateMark, StatusBadge } from "@/components/ui/badge"; import { CountryFlag } from "@/components/ui/country-flag"; import { EmptyState } from "@/components/ui/states"; import { fmtMw, fmtPartialDateSafe, fmtUsd, placeLine } from "@/lib/format-project"; import { routes } from "@/lib/routes"; /** ProjectSummary rows: name · operator · location · MW · status · expected. */ export function ProjectList({ items, emptyTitle = "No projects yet", emptyDescription = "Announced and under-construction projects will appear once ingested." }: { items: ProjectSummary[]; emptyTitle?: string; emptyDescription?: string }) { if (!items.length) return ; return ( ); }