import { Hero } from "@/components/Hero"; import { OriginNotice } from "@/components/OriginNotice"; import { RecordBrowser } from "@/components/RecordBrowser"; import { findDataspace, listNavigation } from "@/lib/catalog"; import { notFound } from "next/navigation"; export function DataspaceHome({ id }: { id: string }) { const dataspace = findDataspace(id); if (!dataspace) notFound(); const others = listNavigation().filter((item) => item.id !== dataspace.id); return ( <> ({ href: kind.href, label: kind.plural }))} /> {others.length > 0 ? (

Other fields:{" "} {others.map((item, index) => ( {index > 0 ? ", " : null} {item.title} ))}

) : null} ); }