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>
26 lines
804 B
TypeScript
26 lines
804 B
TypeScript
import Link from "next/link";
|
|
import { LABELS, scoreClasses, type RecentItem } from "./recentShared";
|
|
|
|
interface RecentRowProps {
|
|
item: RecentItem;
|
|
}
|
|
|
|
export function RecentRow({ item }: RecentRowProps) {
|
|
return (
|
|
<li>
|
|
<Link
|
|
href={`/v/${item.id}`}
|
|
className="flex items-center gap-3 rounded-lg border border-ink/10 bg-white p-3 hover:bg-ink/5"
|
|
>
|
|
<span className={`shrink-0 rounded px-2 py-0.5 text-xs font-medium ${scoreClasses(item.trust_score)}`}>
|
|
{item.trust_score}
|
|
</span>
|
|
<span className="min-w-0 flex-1 truncate text-sm text-ink/80">{item.claim_text}</span>
|
|
<span className="shrink-0 text-xs text-ink/50">
|
|
{LABELS[item.discrepancy_type] ?? item.discrepancy_type}
|
|
</span>
|
|
</Link>
|
|
</li>
|
|
);
|
|
}
|