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>
31 lines
1.0 KiB
TypeScript
31 lines
1.0 KiB
TypeScript
import type { ReactNode } from "react";
|
|
|
|
interface CardProps {
|
|
title?: string;
|
|
description?: string;
|
|
footer?: ReactNode;
|
|
children: ReactNode;
|
|
}
|
|
|
|
// A plain white panel with an optional titled header and footer, used to group a
|
|
// form or list section on an account page. Consistent border / radius / padding
|
|
// so every section on every account page reads as the same component family.
|
|
export function Card({ title, description, footer, children }: CardProps) {
|
|
return (
|
|
<section className="rounded-lg border border-ink/10 bg-white">
|
|
{title ? (
|
|
<header className="border-b border-ink/10 px-5 py-4">
|
|
<h2 className="text-sm font-semibold text-ink/80">{title}</h2>
|
|
{description ? (
|
|
<p className="mt-0.5 text-xs text-ink/50">{description}</p>
|
|
) : null}
|
|
</header>
|
|
) : null}
|
|
<div className="px-5 py-4">{children}</div>
|
|
{footer ? (
|
|
<footer className="border-t border-ink/10 px-5 py-3">{footer}</footer>
|
|
) : null}
|
|
</section>
|
|
);
|
|
}
|