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>
38 lines
990 B
TypeScript
38 lines
990 B
TypeScript
import Link from "next/link";
|
|
|
|
interface MemberTabsProps {
|
|
memberId: string;
|
|
active: "overview" | "activity";
|
|
}
|
|
|
|
// Sub-navigation for a member detail view: overview vs. activity.
|
|
export function MemberTabs({ memberId, active }: MemberTabsProps) {
|
|
const tabs: { key: MemberTabsProps["active"]; label: string; href: string }[] =
|
|
[
|
|
{ key: "overview", label: "Overview", href: `/console/team/${memberId}` },
|
|
{
|
|
key: "activity",
|
|
label: "Activity",
|
|
href: `/console/team/${memberId}/activity`,
|
|
},
|
|
];
|
|
|
|
return (
|
|
<nav className="mt-4 flex gap-4 border-b border-ink/10">
|
|
{tabs.map((tab) => (
|
|
<Link
|
|
key={tab.key}
|
|
href={tab.href}
|
|
className={
|
|
tab.key === active
|
|
? "pb-2 -mb-px border-b-2 border-accent text-sm text-ink/80"
|
|
: "pb-2 text-sm text-ink/40 hover:text-ink/60"
|
|
}
|
|
>
|
|
{tab.label}
|
|
</Link>
|
|
))}
|
|
</nav>
|
|
);
|
|
}
|