Multi-tenant platform (182 pages, 228 API routes, ~30 modules) built on a deterministic verification core: clinical-trial claims checked against ClinicalTrials.gov registered results and raw event counts (ARR/NNT/RR+CI recomputed in code, oracle-tested), code-enforced exact-span grounding, and multi-source cross-verification. Auth/RBAC/multi-tenancy, document processing at scale (unpdf + Docling), agentic workflows, Claude Science connector, compliance/audit, billing, public API, and more. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
39 lines
971 B
TypeScript
39 lines
971 B
TypeScript
import Link from "next/link";
|
|
import { StepPills } from "./StepPills";
|
|
|
|
// A single workflow card (built-in or custom) linking to its detail page.
|
|
|
|
interface WorkflowCardProps {
|
|
href: string;
|
|
name: string;
|
|
description?: string | null;
|
|
stepCount: number;
|
|
steps: { name: string }[];
|
|
}
|
|
|
|
export function WorkflowCard({
|
|
href,
|
|
name,
|
|
description,
|
|
stepCount,
|
|
steps,
|
|
}: WorkflowCardProps) {
|
|
return (
|
|
<Link
|
|
href={href}
|
|
className="block rounded-lg border border-ink/15 bg-white p-5 hover:border-accent/40"
|
|
>
|
|
<div className="flex items-center justify-between gap-2">
|
|
<h3 className="text-sm font-semibold text-ink/80">{name}</h3>
|
|
<span className="rounded-full bg-paper px-2 py-0.5 text-xs text-ink/40">
|
|
{stepCount} steps
|
|
</span>
|
|
</div>
|
|
{description ? (
|
|
<p className="mt-1.5 text-sm text-ink/60">{description}</p>
|
|
) : null}
|
|
<StepPills steps={steps} />
|
|
</Link>
|
|
);
|
|
}
|