From 3fb6e228c665c9d69dfb505b2090ecc219529fb1 Mon Sep 17 00:00:00 2001 From: Mackie Date: Wed, 3 Jun 2026 22:45:27 +0800 Subject: [PATCH] strip --- src/blocks/StatsStrip/Component.tsx | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/blocks/StatsStrip/Component.tsx b/src/blocks/StatsStrip/Component.tsx index d4be37a..0b27292 100644 --- a/src/blocks/StatsStrip/Component.tsx +++ b/src/blocks/StatsStrip/Component.tsx @@ -1,4 +1,5 @@ import React from 'react' +import { Container } from '@/components/ui/Container' // Adjust path as needed type Stat = { value: string @@ -13,19 +14,20 @@ export function StatsStripBlock({ stats }: StatsStripProps) { if (!Array.isArray(stats) || stats.length === 0) return null return ( -
- {stats.map((stat, i) => ( -
-

{stat.value}

-

{stat.label}

+
+ +
+ {stats.map((stat, i) => ( +
+

{stat.value}

+

{stat.label}

+
+ ))}
- ))} +
) }