diff --git a/apps/admin/src/app/page.tsx b/apps/admin/src/app/page.tsx index 74ddbab..5838790 100644 --- a/apps/admin/src/app/page.tsx +++ b/apps/admin/src/app/page.tsx @@ -46,18 +46,18 @@ export default function Home() { }; return ( -
+
{/* Hero Section */}
-

+

FitAI Dashboard

-

Performance metrics & athlete insights

+

Performance metrics & athlete insights

@@ -100,11 +100,11 @@ export default function Home() { {/* Main Content Grid */}
{/* User Management - Full Width */} -
+
-

Active Athletes

-

Manage and monitor your fitness clients

+

Active Athletes

+

Manage and monitor your fitness clients

@@ -113,8 +113,8 @@ export default function Home() { {/* Analytics - 3 Columns Horizontal Layout */}
-

Analytics

-

Performance metrics and insights

+

Analytics

+

Performance metrics and insights

diff --git a/apps/admin/src/components/analytics/AnalyticsDashboard.tsx b/apps/admin/src/components/analytics/AnalyticsDashboard.tsx index 3b3e184..d6c393b 100644 --- a/apps/admin/src/components/analytics/AnalyticsDashboard.tsx +++ b/apps/admin/src/components/analytics/AnalyticsDashboard.tsx @@ -79,57 +79,57 @@ export function AnalyticsDashboard() {
{/* Key Metrics Cards - 3 columns */}
-
-

Total Athletes

+
+

Total Athletes

-
{totalUsers}
- active +
{totalUsers}
+ active
-
-

Total Revenue

+
+

Total Revenue

-
${totalRevenue.toLocaleString()}
- ytd +
${totalRevenue.toLocaleString()}
+ ytd
-
-

Active Members

+
+

Active Members

-
{activeMembers}
- members +
{activeMembers}
+ members
{/* Charts - 3 Columns Horizontal */}
-
+
-

User Growth Trend

-

Last 6 months performance

+

User Growth Trend

+

Last 6 months performance

-
+
-

Membership Mix

-

Distribution breakdown

+

Membership Mix

+

Distribution breakdown

-
+
-

Revenue Stream

-

Monthly earnings

+

Revenue Stream

+

Monthly earnings

diff --git a/apps/admin/src/components/ui/StatsCard.tsx b/apps/admin/src/components/ui/StatsCard.tsx index aa49762..d6aacf6 100644 --- a/apps/admin/src/components/ui/StatsCard.tsx +++ b/apps/admin/src/components/ui/StatsCard.tsx @@ -14,38 +14,38 @@ export function StatsCard({ title, value, change, trend, icon: Icon, color = "bl const colorStyles = { blue: { bg: "from-blue-600 to-blue-700", - text: "text-blue-900", - light: "from-blue-50 to-blue-100", - badge: "bg-blue-100 text-blue-700", - icon: "bg-blue-200/70 text-blue-700", + text: "text-white", + light: "from-blue-600 to-blue-700", + badge: "bg-blue-400 text-white", + icon: "bg-white/20 text-white", }, green: { bg: "from-emerald-600 to-emerald-700", - text: "text-emerald-900", - light: "from-emerald-50 to-emerald-100", - badge: "bg-emerald-100 text-emerald-700", - icon: "bg-emerald-200/70 text-emerald-700", + text: "text-white", + light: "from-emerald-600 to-emerald-700", + badge: "bg-emerald-400 text-white", + icon: "bg-white/20 text-white", }, purple: { bg: "from-purple-600 to-purple-700", - text: "text-purple-900", - light: "from-purple-50 to-purple-100", - badge: "bg-purple-100 text-purple-700", - icon: "bg-purple-200/70 text-purple-700", + text: "text-white", + light: "from-purple-600 to-purple-700", + badge: "bg-purple-400 text-white", + icon: "bg-white/20 text-white", }, orange: { bg: "from-orange-600 to-orange-700", - text: "text-orange-900", - light: "from-orange-50 to-orange-100", - badge: "bg-orange-100 text-orange-700", - icon: "bg-orange-200/70 text-orange-700", + text: "text-white", + light: "from-orange-600 to-orange-700", + badge: "bg-orange-400 text-white", + icon: "bg-white/20 text-white", }, }; const styles = colorStyles[color]; return ( - + {title}