UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: showcase card links not opening on click (#829)
Abhinav A84be2ca4b0b3
diff --git a/apps/www/components/sections/showcase.tsx b/apps/www/components/sections/showcase.tsxindex e6f9630b..ce869ecd 100644--- a/apps/www/components/sections/showcase.tsx+++ b/apps/www/components/sections/showcase.tsx@@ -71,8 +71,7 @@ export function Showcase() {.map((showcase, idx) => (<ShowcaseCardkey={idx}- {...showcase}- href={showcase.url}+ href={showcase.data.href ?? showcase.url}title={showcase.data.title ?? ""}affiliation={showcase.data.affiliation ?? ""}image={showcase.data.image ?? ""}diff --git a/apps/www/source.config.ts b/apps/www/source.config.tsindex 66dab1c5..87146fa4 100644--- a/apps/www/source.config.ts+++ b/apps/www/source.config.ts@@ -65,6 +65,7 @@ export const showcase = defineDocs({featured: z.boolean().optional().default(false),href: z.string().url().optional(),image: z.string().optional(),+ href: z.string().optional(),}),},})