From 6dc90f1745084f1ec32b152b4954cb713560d1fa Mon Sep 17 00:00:00 2001 From: Aleksandar Date: Thu, 11 Dec 2025 13:44:02 +0100 Subject: [PATCH] feat: reorganize dashboard layout with UserManagement full-width and horizontal analytics charts --- apps/admin/src/app/page.tsx | 18 ++++++++--------- .../analytics/AnalyticsDashboard.tsx | 20 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/apps/admin/src/app/page.tsx b/apps/admin/src/app/page.tsx index dc8ed12..74ddbab 100644 --- a/apps/admin/src/app/page.tsx +++ b/apps/admin/src/app/page.tsx @@ -98,8 +98,9 @@ export default function Home() { {/* Main Content Grid */} -
-
+
+ {/* User Management - Full Width */} +

Active Athletes

@@ -109,14 +110,13 @@ export default function Home() {
-
-
-
-

Performance

-

Quick insights & analytics

-
- + {/* Analytics - 3 Columns Horizontal Layout */} +
+
+

Analytics

+

Performance metrics and insights

+
diff --git a/apps/admin/src/components/analytics/AnalyticsDashboard.tsx b/apps/admin/src/components/analytics/AnalyticsDashboard.tsx index 2bfeab6..3b3e184 100644 --- a/apps/admin/src/components/analytics/AnalyticsDashboard.tsx +++ b/apps/admin/src/components/analytics/AnalyticsDashboard.tsx @@ -77,8 +77,8 @@ export function AnalyticsDashboard() { return (
- {/* Key Metrics Cards - Stacked vertically */} -
+ {/* Key Metrics Cards - 3 columns */} +

Total Athletes

@@ -104,34 +104,34 @@ export function AnalyticsDashboard() {
- {/* Charts - Single column layout for stability */} -
+ {/* Charts - 3 Columns Horizontal */} +
-

User Growth Trend

+

User Growth Trend

Last 6 months performance

-
+
-

Membership Mix

+

Membership Mix

Distribution breakdown

-
+
-

Revenue Stream

+

Revenue Stream

Monthly earnings

-
+