From 5864cebed11fa4f370b88b3daabeebe2a337887b Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 18 Oct 2025 02:10:31 +0000 Subject: [PATCH] Standardize Core Areas cards for uniform layout and CTAs cgen-55f3333a5228402e87f9359986348bbf --- client/pages/Explore.tsx | 42 ++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/client/pages/Explore.tsx b/client/pages/Explore.tsx index ad9f6e29..8e5db8e5 100644 --- a/client/pages/Explore.tsx +++ b/client/pages/Explore.tsx @@ -205,11 +205,11 @@ export default function Explore() { {combined.map((offering: any, idx: number) => (
- +
{offering.title} @@ -234,28 +234,42 @@ export default function Explore() {
)}
- + {offering.link ? ( - ) : ( -
- {offering.actions?.map((action: any) => ( + <> + {offering.actions?.[0] ? ( - ))} -
+ ) : null} + {offering.actions && offering.actions.length > 1 ? ( +
+ {offering.actions.slice(1).map((a: any) => ( + a.external ? ( + + {a.label} + + ) : ( + + {a.label} + + ) + ))} +
+ ) : null} + )}