From 19ba84cb2e536df8abc08267961669d7a2e0ca17 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 5 Aug 2025 22:56:50 +0000 Subject: [PATCH] Enhance stats section with animations and loading cgen-a19aff77258e4294ae118bfaab95e797 --- client/pages/Index.tsx | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/client/pages/Index.tsx b/client/pages/Index.tsx index b79edfca..893bb6dc 100644 --- a/client/pages/Index.tsx +++ b/client/pages/Index.tsx @@ -149,24 +149,32 @@ export default function Index() { {/* Stats Section */}
-
- {stats.map((stat, index) => { - const Icon = stat.icon; - return ( -
-
-
- + {!statsVisible ? ( + + ) : ( +
+ {stats.map((stat, index) => { + const Icon = stat.icon; + return ( +
+
+
+ +
+
+
+
{stat.value}
+

{stat.label}

-
-
{stat.value}
-

{stat.label}

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