From 3757b8df99fade47ee5e02471391cee3383fb7e8 Mon Sep 17 00:00:00 2001 From: nuno-aac Date: Tue, 24 Oct 2023 15:27:37 +0100 Subject: [PATCH] Add type list to ListCard --- workspaces/website/src/blocks/ListCardItems.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/workspaces/website/src/blocks/ListCardItems.tsx b/workspaces/website/src/blocks/ListCardItems.tsx index 43c55ddc0d..85cbb8e8ab 100644 --- a/workspaces/website/src/blocks/ListCardItems.tsx +++ b/workspaces/website/src/blocks/ListCardItems.tsx @@ -17,6 +17,10 @@ interface ListCardItems { website_url: string; twitter: string; image: string; + type_list: { + type: string; + url: string; + }[]; } interface Props extends LocaleProps { @@ -33,7 +37,6 @@ export default function ListCardItems({ card_list_items }: Props): JSX.Element { - return ( @@ -49,6 +52,7 @@ Props): JSX.Element { key={`${card.title}-${i}`} description={card.description} title={card.title} + type_list={card.type_list} /> ); })}