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>
25 lines
829 B
TypeScript
25 lines
829 B
TypeScript
"use client";
|
|
|
|
import Link from "next/link";
|
|
import type { TeamDTO } from "./api";
|
|
|
|
// A single team tile in the TeamsGrid.
|
|
export function TeamCard({ team }: { team: TeamDTO }) {
|
|
return (
|
|
<Link
|
|
href={`/console/teams/${team.id}`}
|
|
className="block rounded-lg border border-ink/10 bg-white p-4 transition hover:border-accent/40 hover:shadow-sm"
|
|
>
|
|
<div className="flex items-start justify-between gap-2">
|
|
<h3 className="font-medium text-ink/80">{team.name}</h3>
|
|
<span className="shrink-0 rounded-full bg-paper px-2 py-0.5 text-xs text-ink/50">
|
|
{team.memberCount} {team.memberCount === 1 ? "member" : "members"}
|
|
</span>
|
|
</div>
|
|
<p className="mt-2 line-clamp-2 text-sm text-ink/40">
|
|
{team.description || "No description."}
|
|
</p>
|
|
</Link>
|
|
);
|
|
}
|