/** * KnowledgebaseIndex — the books / letters / lectures / essays / etc. * directory layout. Rendered as the search page's empty state so an * untyped search bar still gives users an editorial entry point into the * library. * * Two sections, top to bottom: * 1. Start here — three primary entry points (Books, Letters, Lectures) * rendered as full-width feature tiles with longer copy. * 2. Explore — a six-card asymmetric grid for the remaining sections. * * No hero block; the parent page (Search) carries its own hero so two * heroes don't stack on top of each other. */ import Link from "next/link"; import { ArrowUpRight, BookA, BookOpen, FileStack, Mail, Mic, Newspaper, NotebookPen, PenLine, Users, } from "lucide-react"; type Feature = { href: string; label: string; blurb: string; count?: string; icon: React.ComponentType<{ className?: string }>; }; const FEATURED: Feature[] = [ { href: "/books", label: "Books", blurb: "Bhagavad-gītā, Śrīmad-Bhāgavatam, Caitanya-caritāmṛta and 34 more — each verse with Devanāgarī, transliteration, synonyms, translation and purport.", count: "37 books", icon: BookOpen, }, { href: "/letters", label: "Letters", blurb: "Three decades of personal correspondence to disciples, family, and officials. Browse by year, recipient, or location.", count: "6,866 letters", icon: Mail, }, { href: "/transcriptions", label: "Lectures & Conversations", blurb: "Lectures, morning walks, room conversations, and dialogues — the living voice of the Founder-Ācārya preserved in text and audio.", count: "3,787 transcripts", icon: Mic, }, ]; const EXPLORE: Feature[] = [ { href: "/essays", label: "Essays", blurb: "Foundational standalone essays.", count: "23 essays", icon: PenLine, }, { href: "/magazines", label: "Back to Godhead", blurb: "The original 1944 – 1973 magazine archive.", count: "1,124 articles", icon: Newspaper, }, { href: "/journals", label: "Journals", blurb: "The Jaladuta Diary and The Beginning.", count: "300 entries", icon: NotebookPen, }, { href: "/glossary", label: "Glossary", blurb: "Sanskrit and Vedic terms with definitions.", count: "2,749 terms", icon: BookA, }, { href: "/disciples", label: "Disciples", blurb: "Initiated disciples 1966 – 1977.", count: "4,747 names", icon: Users, }, { href: "/other-documents", label: "Other Documents", blurb: "Miscellaneous analyses and writings.", count: "12 documents", icon: FileStack, }, ]; export function KnowledgebaseIndex() { return (
{FEATURED.map((f) => ( ))}
{EXPLORE.map((f) => ( ))}
); } function FeaturedTile({ feature }: { feature: Feature }) { const Icon = feature.icon; return (

{feature.label}

{feature.blurb}

{feature.count ? (

{feature.count}

) : null} ); } function ExploreTile({ feature }: { feature: Feature }) { const Icon = feature.icon; return (

{feature.label}

{feature.blurb}

{feature.count ? (

{feature.count}

) : null}
); } function SectionHeading({ eyebrow, title, }: { eyebrow: string; title: string; }) { return (
{eyebrow}

{title}

); }