feat: add ssr

This commit is contained in:
gosangam
2026-04-17 22:51:58 +05:30
parent d88ababd76
commit 0aab1d23ec
97 changed files with 29891 additions and 68 deletions
+29 -2
View File
@@ -8,7 +8,7 @@ import {
} from "@/components/ui/card";
import { Badge } from "@/components/ui/badge";
import { PageHeader } from "@/components/page-header";
import { BookOpen, FileText, BookA } from "lucide-react";
import { BookOpen, FileText, BookA, PenLine } from "lucide-react";
const allowRtf = process.env.ALLOW_RTF === "true";
@@ -53,6 +53,32 @@ export default function Home() {
</Card>
</Link>
{/* Essays */}
<Link href="/essays" className="block group">
<Card className="transition-all group-hover:shadow-md group-hover:ring-foreground/20">
<CardHeader>
<div className="flex items-center gap-3">
<div className="flex items-center justify-center size-10 rounded-lg bg-primary/10 text-primary">
<PenLine className="size-5" />
</div>
<div className="flex-1 min-w-0">
<CardTitle className="text-xl font-bold">Essays</CardTitle>
<CardDescription>
Standalone essays by Śrīla Prabhupāda
</CardDescription>
</div>
</div>
</CardHeader>
<CardContent>
<p className="text-sm text-muted-foreground">
Foundational essays including &ldquo;Krishna The Reservoir Of
Pleasure&rdquo; and &ldquo;Who Is Crazy?&rdquo; — timeless
introductions to the science of Kṛṣṇa consciousness.
</p>
</CardContent>
</Card>
</Link>
{/* Glossary */}
<Link href="/glossary" className="block group">
<Card className="transition-all group-hover:shadow-md group-hover:ring-foreground/20">
@@ -95,7 +121,8 @@ export default function Home() {
RTF Document Viewer
</CardTitle>
<CardDescription>
17 original documents from the original unedited Vedabase
17 original documents from the original unedited
Vedabase
</CardDescription>
</div>
</div>