diff --git a/apps/admin/public/logo.svg b/apps/admin/public/logo.svg new file mode 100644 index 0000000..029051d --- /dev/null +++ b/apps/admin/public/logo.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NextForm + diff --git a/apps/admin/public/nextform-logo.png b/apps/admin/public/nextform-logo.png new file mode 100644 index 0000000..1d1c9b8 Binary files /dev/null and b/apps/admin/public/nextform-logo.png differ diff --git a/apps/admin/public/nextform-logo.svg b/apps/admin/public/nextform-logo.svg new file mode 100644 index 0000000..02aea68 --- /dev/null +++ b/apps/admin/public/nextform-logo.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/apps/admin/src/app/page.tsx b/apps/admin/src/app/page.tsx index a0d682a..2adc479 100644 --- a/apps/admin/src/app/page.tsx +++ b/apps/admin/src/app/page.tsx @@ -47,55 +47,116 @@ export default function Home() { return (
-
-

Dashboard

-

Welcome back, here's what's happening today.

+ {/* Header with Logo and App Name */} +
+
+ NextForm Logo +
+
+

+ NextForm +

+

Fitness Management Platform

+
-
- - - 0 ? "+" : ""}${stats.revenueGrowth}%`} - trend={stats.revenueGrowth >= 0 ? "up" : "down"} - icon={CreditCard} - color="purple" - /> - + {/* Performance Metrics Section */} +
+
+

Performance Metrics

+

Track key indicators and member activity

+
+
+ + + 0 ? "+" : ""}${stats.revenueGrowth}% growth`} + trend={stats.revenueGrowth >= 0 ? "up" : "down"} + icon={CreditCard} + color="amber" + /> + +
-
-
-

Recent Activity

+ {/* Members Directory Section */} +
+
+

Members Directory

+

View detailed member information and analytics

+
+
+
-
-

Quick Analytics

- + {/* Key Insights Section */} +
+
+

Key Insights

+

Quick stats overview

+
+ +
+
+
+

Active Subscriptions

+

{loading ? "..." : stats.totalUsers}

+

Premium members active

+
+
+ +
+
+

Training Activity

+

{loading ? "..." : stats.activeClients}

+

Currently training

+
+
+ +
+
+

Total Revenue

+

{loading ? "..." : formatCurrency(stats.totalRevenue)}

+

This period earnings

+
+
+
+
+ + {/* Detailed Report Section */} +
+
+

Detailed Report

+

Analytics Dashboard

+
+
+
+ +
diff --git a/apps/admin/src/components/analytics/AnalyticsDashboard.tsx b/apps/admin/src/components/analytics/AnalyticsDashboard.tsx index 8031fdc..9eb2a06 100644 --- a/apps/admin/src/components/analytics/AnalyticsDashboard.tsx +++ b/apps/admin/src/components/analytics/AnalyticsDashboard.tsx @@ -4,7 +4,7 @@ import { useState, useEffect } from 'react' import { UserGrowthChart } from '@/components/charts/UserGrowthChart' import { MembershipDistributionChart } from '@/components/charts/MembershipDistributionChart' import { RevenueChart } from '@/components/charts/RevenueChart' -import { Card, CardHeader, CardContent } from '@/components/ui/card' +import { Card, CardHeader, CardContent } from '@/components/ui/Card' interface ChartData { label: string diff --git a/apps/admin/src/components/ui/Sidebar.tsx b/apps/admin/src/components/ui/Sidebar.tsx index 8332f86..36de494 100644 --- a/apps/admin/src/components/ui/Sidebar.tsx +++ b/apps/admin/src/components/ui/Sidebar.tsx @@ -67,9 +67,15 @@ export function Sidebar() { return (