import { Link } from "react-router-dom" import type { ProgramSummary } from "@/types" import { KindBadge } from "./KindBadge" import { StackBadge } from "./StackBadge" interface ProgramCardProps { program: ProgramSummary } export function ProgramCard({ program }: ProgramCardProps) { // The dot reflects the uniform lifecycle state (a tool on PATH, a service // running, a static site served). Lifecycle controls live on the detail page's // Deployment section, not here — a card just shows state and links through. const dot = program.active === true ? "bg-green-500" : program.active === false ? "bg-[var(--muted)]" : "bg-transparent border border-[var(--muted)]" return (
{program.description}
)}