papertrail/components/views/NewViewCard.tsx
caelum0x 695a365ae4 feat: PaperTrail — enterprise evidence-verification platform
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>
2026-07-08 07:21:22 +03:00

26 lines
817 B
TypeScript

import Link from "next/link";
interface NewViewCardProps {
href: string;
}
// Dashed call-to-action card that sits at the top of the list, inviting the user
// to build a new saved view. Kept as its own component so the list page stays
// composed of small pieces.
export function NewViewCard({ href }: NewViewCardProps) {
return (
<Link
href={href}
className="flex items-center justify-between rounded-lg border border-dashed border-ink/20 bg-paper px-5 py-4 hover:border-accent"
>
<div>
<p className="text-sm font-medium text-ink/70">Create a saved view</p>
<p className="mt-0.5 text-sm text-ink/40">
Capture a search, filters, and sort you use often.
</p>
</div>
<span className="text-sm text-accent">New view</span>
</Link>
);
}