From f0ef8dfaabaf958e5adf649699f8cf1ff3bb7aaa Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 18 Oct 2025 03:21:38 +0000 Subject: [PATCH] Dashboard: dynamic statsDisplay cgen-6b4142c9fd994b7db5efbfd67b0a10ff --- client/pages/Dashboard.tsx | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index 07edf03e..8eeb6e8b 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -509,30 +509,10 @@ export default function Dashboard() { const showProfileSetup = !profileComplete; const statsDisplay = [ - { - label: "Active Projects", - value: stats.activeProjects, - icon: Rocket, - color: "from-blue-500 to-purple-600", - }, - { - label: "Completed Tasks", - value: 47, - icon: Trophy, - color: "from-green-500 to-blue-600", - }, - { - label: "Team Members", - value: 8, - icon: Users, - color: "from-purple-500 to-pink-600", - }, - { - label: "Performance Score", - value: "94%", - icon: TrendingUp, - color: "from-orange-500 to-red-600", - }, + { label: "Active Projects", value: stats.activeProjects, icon: Rocket, color: "from-blue-500 to-purple-600" }, + { label: "Completed Tasks", value: stats.completedTasks, icon: Trophy, color: "from-green-500 to-blue-600" }, + { label: "Team Members", value: stats.teamMembers, icon: Users, color: "from-purple-500 to-pink-600" }, + { label: "Performance Score", value: stats.performanceScore, icon: TrendingUp, color: "from-orange-500 to-red-600" }, ]; const getProgressPercentage = (project: any) => {