import { createFileRoute } from "@tanstack/react-router";
import { Shelf } from "@/components/shelf";

export const Route = createFileRoute("/books")({
  component: () => (
    <Shelf
      kicker="Books"
      title="Books"
      lede="Identities of books the archive means to hold. A title on this shelf is not a transcription."
      filter={(work) => work.type === "book" || work.type === "pdf" || work.type === "manuscript"}
    />
  ),
});
