From 49e873283246cc558024b8ce6eccab3592d80fd1 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 29 Apr 2026 10:08:37 +0000 Subject: [PATCH] Bob AI: Change the background color of the specific div element cont --- .../sections/metrics/MetricsSimpleCards.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/components/sections/metrics/MetricsSimpleCards.tsx b/src/components/sections/metrics/MetricsSimpleCards.tsx index d9c5830..4745be7 100644 --- a/src/components/sections/metrics/MetricsSimpleCards.tsx +++ b/src/components/sections/metrics/MetricsSimpleCards.tsx @@ -47,23 +47,26 @@ const MetricsSimpleCards = ({ {(primaryButton || secondaryButton) && (
{primaryButton && } - {secondaryButton && } + {secondaryButton && }
)} - {metrics.map((metric) => ( -
- {metric.value} -

{metric.description}

-
- ))} + {metrics.map((metric) => { + const isTarget = (metric.value + " " + metric.description).includes("200+ Events Styled") || metric.value.includes("200+"); + return ( +
+ {metric.value} +

{metric.description}

+
+ ); + })}
); -export default MetricsSimpleCards; +export default MetricsSimpleCards; \ No newline at end of file -- 2.49.1