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
783 B
TypeScript
26 lines
783 B
TypeScript
import Link from "next/link";
|
|
|
|
interface BillingHeaderProps {
|
|
title: string;
|
|
subtitle: string;
|
|
action?: { href: string; label: string };
|
|
}
|
|
|
|
// Page header for the billing module: title, one-line description, and an
|
|
// optional right-aligned link (e.g. "Manage plan" / back links on sub-pages).
|
|
export function BillingHeader({ title, subtitle, action }: BillingHeaderProps) {
|
|
return (
|
|
<div className="flex items-center justify-between">
|
|
<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="text-sm text-accent hover:underline">
|
|
{action.label}
|
|
</Link>
|
|
) : null}
|
|
</div>
|
|
);
|
|
}
|