From 8d11f2eefb0ba892cb1d69d397bf7f92395ba683 Mon Sep 17 00:00:00 2001 From: meh Date: Wed, 30 Sep 2026 12:19:51 +0700 Subject: [PATCH] refactor(showcases): make the library Card the showcase link Each showcase card sat inside its own . Card takes href and renders the anchor itself, so the wrapper goes and the card is the link. --- src/pages/Showcases.tsx | 56 +++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 30 deletions(-) diff --git a/src/pages/Showcases.tsx b/src/pages/Showcases.tsx index 36a55f5..c814c2c 100644 --- a/src/pages/Showcases.tsx +++ b/src/pages/Showcases.tsx @@ -72,21 +72,19 @@ const Showcases: Component = () => { {(route) => ( - - -
-

- {route.name} -

-

- {route.description} -

- - View Demo → - -
-
-
+ +
+

+ {route.name} +

+

+ {route.description} +

+ + View Demo → + +
+
)} @@ -102,21 +100,19 @@ const Showcases: Component = () => { {(route) => ( - - -
-

- {route.name} -

-

- {route.description} -

- - Explore → - -
-
-
+ +
+

+ {route.name} +

+

+ {route.description} +

+ + Explore → + +
+
)}