From f0ffbad459d514a6094b1842fb361ea27f039bfe Mon Sep 17 00:00:00 2001 From: Samantha Kellow Date: Fri, 28 Jul 2023 10:25:33 +0100 Subject: [PATCH] adding target to sustainability info read more --- components/product/description-content.tsx | 1 - components/product/sustainability-info.tsx | 10 ++++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/components/product/description-content.tsx b/components/product/description-content.tsx index 730dae759..85091347b 100644 --- a/components/product/description-content.tsx +++ b/components/product/description-content.tsx @@ -26,7 +26,6 @@ export function DescriptionContent({ product }: { product: Product }) { return {credentials[credType].title} certified } diff --git a/components/product/sustainability-info.tsx b/components/product/sustainability-info.tsx index 92f5b5e3b..1bd1fc107 100644 --- a/components/product/sustainability-info.tsx +++ b/components/product/sustainability-info.tsx @@ -15,10 +15,16 @@ export function SustainabilityInfo() { {credentialsKeys.map(credential => ( - {credentials[credential as keyof typeof credentials].title} + {credentials[credential as keyof typeof credentials].title} "{credentials[credential as keyof typeof credentials].excerpt}"

- Read more + + Read more +
))}