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

35 lines
989 B
TypeScript

import Link from "next/link";
import type { ReactNode } from "react";
import type { Project } from "@/components/projects/types";
import { ProjectStatusBadge } from "./ProjectStatusBadge";
// Header for a single project: a back link, the project name, its status badge,
// and an optional action slot (e.g. a Settings link).
interface ProjectHeaderProps {
project: Project;
action?: ReactNode;
}
export function ProjectHeader({ project, action }: ProjectHeaderProps) {
return (
<div className="flex items-center justify-between">
<div>
<Link
href="/console/projects"
className="text-sm text-ink/40 hover:text-ink/60"
>
← Projects
</Link>
<h1 className="mt-1 text-2xl font-semibold text-ink/80">
{project.name}
</h1>
<span className="mt-1 inline-block">
<ProjectStatusBadge status={project.status} />
</span>
</div>
{action ?? null}
</div>
);
}