Add local repo contents

This commit is contained in:
willchen96 2026-04-29 19:49:06 +02:00
parent 65739ef1ce
commit d9690965b5
176 changed files with 68998 additions and 0 deletions

View file

@ -0,0 +1,13 @@
/**
* Small "V3" badge for document rows/listings, rendered when the doc has
* at least one assistant-edit version. Matches the chip in the side
* panel's edit-tab header.
*/
export function VersionChip({ n }: { n: number | null | undefined }) {
if (typeof n !== "number" || !Number.isFinite(n) || n < 1) return null;
return (
<span className="shrink-0 inline-flex items-center rounded-md border border-gray-200 bg-white px-1 py-0.5 text-[10px] font-medium text-gray-500">
V{n}
</span>
);
}