-
{intro.chapters.map((ch) => (
-
Chapter {ch.number}
{ch.title}
))}
import Link from "next/link"; import { notFound } from "next/navigation"; import { getBookMeta } from "@/lib/api"; import { PageHeader } from "@/components/page-header"; import { Card, CardContent } from "@/components/ui/card"; import { ExtractedVerseCount } from "../extracted-verse-count"; type ChapterInfo = { number: number; title: string; totalVerses: number; }; export default async function Sb1962Page() { const meta = await getBookMeta("sb1962"); if (!meta) notFound(); const intro = meta as unknown as { book: string; title: string; author: string; description?: string; totalChapters: number; chapters: ChapterInfo[]; }; return (
{intro.author}
{ch.title}