'use client' import type { Collection } from './types' function CollectionCard({ collection }: { collection: Collection }) { const statusColors = { ready: 'bg-green-100 text-green-800', indexing: 'bg-yellow-100 text-yellow-800', empty: 'bg-slate-100 text-slate-800', } const statusLabels = { ready: 'Bereit', indexing: 'Indexierung...', empty: 'Leer', } return (
{collection.name}
Chunks
{collection.chunkCount.toLocaleString()}
Jahre
{collection.years.length > 0 ? `${Math.min(...collection.years)}-${Math.max(...collection.years)}` : '-'}
Fächer
{collection.subjects.length}
Bundesland
{collection.bundesland}
Verwaltung der indexierten Dokumentensammlungen
Starten Sie die Ingestion oder laden Sie Dokumente hoch.