diff --git a/marketing-site/components/reader/WorkflowBlock.jsx b/marketing-site/components/reader/WorkflowBlock.jsx index 71ad666..fb5b83b 100644 --- a/marketing-site/components/reader/WorkflowBlock.jsx +++ b/marketing-site/components/reader/WorkflowBlock.jsx @@ -3,6 +3,7 @@ import Link from "next/link"; import TermOutput from "./TermOutput"; const JUMP = [ + { id: "kit", label: "Kit" }, { id: "problem", label: "Problem" }, { id: "actors", label: "Actors" }, { id: "setup", label: "Setup" }, @@ -69,6 +70,31 @@ async function copyText(text) { } } + +function WorkflowKit({ recipe }) { + const k = recipe.kit; + if (!k) return null; + const rows = [ + ["You run", k.youRun], + ["Tools", (k.tools || []).join(" · ")], + ["Files", (k.files || []).join(" · ")], + ["Model", k.model], + ["Time", recipe.time], + ["Cost", recipe.cost], + ["You produce", k.artifact], + ].filter(([, v]) => v); + return ( +