From b46830f61e686bff3d2897aae6328dbcda84a679 Mon Sep 17 00:00:00 2001 From: d3v1l0n Date: Tue, 7 Jan 2025 03:14:30 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20perf:=20i=20forgot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/home/StatsSection.tsx | 67 ++++++++++++++++++++-------- 1 file changed, 48 insertions(+), 19 deletions(-) diff --git a/src/components/home/StatsSection.tsx b/src/components/home/StatsSection.tsx index e6d0f13a..5e16293f 100644 --- a/src/components/home/StatsSection.tsx +++ b/src/components/home/StatsSection.tsx @@ -55,46 +55,75 @@ export function StatsSection() { }, []); return ( -
+
-
-

Our Impact

-

+ {/* Header Section */} +

+ + Our Impact + + A snapshot of our growing community and contributions. -

+
+ + {/* Stats Grid */} {error ? (
Unable to fetch data. Please try again later.
) : ( -
+
{stats.map((stat, index) => ( + {/* Icon */} - + + {/* Stat Value */} {stat.value} -

{stat.label}

+ {/* Stat Label */} +

+ {stat.label} +

))}