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>
30 lines
940 B
TypeScript
30 lines
940 B
TypeScript
import Link from "next/link";
|
|
|
|
interface ToolsHeaderProps {
|
|
title: string;
|
|
// Description content (may contain inline links), rendered under the title.
|
|
subtitle: React.ReactNode;
|
|
action?: { href: string; label: string };
|
|
}
|
|
|
|
// Header row for the tools module: title + rich description on the left, an
|
|
// optional right-aligned bordered link (e.g. "Call history" / "Overview").
|
|
export function ToolsHeader({ title, subtitle, action }: ToolsHeaderProps) {
|
|
return (
|
|
<div className="flex items-start justify-between gap-4">
|
|
<div>
|
|
<h1 className="text-2xl font-semibold text-ink/80">{title}</h1>
|
|
<p className="mt-1 text-sm text-ink/40">{subtitle}</p>
|
|
</div>
|
|
{action ? (
|
|
<Link
|
|
href={action.href}
|
|
className="shrink-0 text-xs border border-ink/15 rounded px-3 py-1.5 hover:border-accent"
|
|
>
|
|
{action.label}
|
|
</Link>
|
|
) : null}
|
|
</div>
|
|
);
|
|
}
|