caelum0x 695a365ae4 feat: PaperTrail — enterprise evidence-verification platform
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>
2026-07-08 07:21:22 +03:00

43 lines
1.0 KiB
TypeScript

"use client";
// Minimal tab bar for the connection detail view. Controlled by the parent so it
// stays a pure presentational component.
export interface TabDef {
id: string;
label: string;
}
interface TabsProps {
tabs: TabDef[];
active: string;
onChange: (id: string) => void;
}
export function Tabs({ tabs, active, onChange }: TabsProps) {
return (
<div className="border-b border-ink/10">
<nav className="flex gap-6" role="tablist">
{tabs.map((tab) => {
const isActive = tab.id === active;
return (
<button
key={tab.id}
role="tab"
aria-selected={isActive}
onClick={() => onChange(tab.id)}
className={`pb-2 -mb-px text-sm border-b-2 transition-colors ${
isActive
? "border-accent text-ink/80"
: "border-transparent text-ink/50 hover:text-ink/80"
}`}
>
{tab.label}
</button>
);
})}
</nav>
</div>
);
}