Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.
feat: update announcement component and enhance index page with new title and description
Aniket-5080ba72cde1803
diff --git a/app/(app)/(root)/page.tsx b/app/(app)/(root)/page.tsxindex e9e353a..e5989b8 100644--- a/app/(app)/(root)/page.tsx+++ b/app/(app)/(root)/page.tsx@@ -15,6 +15,9 @@ const IndexPage = () => (<section className="container-wrapper relative"><div className="container flex flex-col items-center gap-4 py-16 text-center md:py-20 lg:py-24"><PageHero+ showAnnouncement+ title="Beautiful PDFs, made simple"+ titleClassName="max-w-7xl"description={<>Ready to use, customizable pdf components for React.@@ -23,8 +26,6 @@ const IndexPage = () => (</>}descriptionClassName="max-w-2xl text-lg sm:text-xl"- title="Beautiful PDFs, made simple"- titleClassName="max-w-7xl"/><CommandBox className="mt-4 w-full max-w-xl" />diff --git a/components/announcement.tsx b/components/announcement.tsxindex 0f2dbaf..149024c 100644--- a/components/announcement.tsx+++ b/components/announcement.tsx@@ -2,12 +2,12 @@ import { ArrowRightIcon } from "lucide-react";import Link from "next/link";import { Badge } from "@/components/ui/badge";+import { ROUTES } from "@/constants/routes";export const Announcement = () => (- <Badge asChild variant="secondary" className="bg-transparent">- <Link href="https://ui.shadcn.com" target="_blank" rel="noreferrer">- <span className="flex size-2 rounded-full bg-blue-500" title="New" />- Built with shadcn registry <ArrowRightIcon />+ <Badge asChild variant="secondary" className="rounded-full">+ <Link href={ROUTES.THEME_BUILDER}>+ New Theme builder <ArrowRightIcon /></Link></Badge>);