UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: remove producthunt banner
Dillion Vermab5dd37b91b3b
diff --git a/components/sections/hero.tsx b/components/sections/hero.tsxindex 7b27ffac..3ed771dc 100644--- a/components/sections/hero.tsx+++ b/components/sections/hero.tsx@@ -12,7 +12,7 @@ export default async function Hero() {const post = allDocs.filter((post) =>- post.date && post.date <= new Date().toISOString() && post.published,+ post.date && post.date <= new Date().toISOString() && post.published).sort((a, b) => {if (!a.date && !b.date) return 0; // Both dates are undefined, keep original order@@ -34,7 +34,7 @@ export default async function Hero() {variant: "outline",size: "sm",}),- "rounded-full",+ "rounded-full")}>🎉 <Separator className="mx-2 h-4" orientation="vertical" />@@ -47,7 +47,7 @@ export default async function Hero() {"text-black dark:text-white","relative mx-0 max-w-[43.5rem] pt-5 md:mx-auto md:px-4 md:py-2","text-balance text-left font-semibold tracking-tighter md:text-center",- "text-5xl sm:text-7xl md:text-7xl lg:text-7xl",+ "text-5xl sm:text-7xl md:text-7xl lg:text-7xl")}>UI library for Design Engineers@@ -72,7 +72,7 @@ export default async function Hero() {variant: "rainbow",size: "lg",}),- "w-full gap-2",+ "w-full gap-2")}>Browse Components@@ -85,7 +85,7 @@ export default async function Hero() {size: "lg",variant: "rainbow-outline",}),- "w-full gap-2",+ "w-full gap-2")}>Browse Templatesdiff --git a/components/sidebar-cta.tsx b/components/sidebar-cta.tsxindex 76631435..78b80b8d 100644--- a/components/sidebar-cta.tsx+++ b/components/sidebar-cta.tsx@@ -54,5 +54,5 @@ export function ProductHuntCTA() {}export function SidebarCTA() {- return <ProductHuntCTA />;+ return null;}diff --git a/components/site-banner.tsx b/components/site-banner.tsxindex ab6d7975..62fb6992 100644--- a/components/site-banner.tsx+++ b/components/site-banner.tsx@@ -53,5 +53,5 @@ export function ProductHuntBanner() {}export function SiteBanner() {- return <ProductHuntBanner />;+ return <ProBanner />;}