From f7938375f6c22bb1e19fa6dfd5ed7ae8617e7e06 Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 1 Sep 2026 01:52:22 +0200 Subject: [PATCH] feat(dashboard2): move Selling/Cost/Markup up to Row 1 alongside quote KPIs All 6 headline numbers now sit on a single row at the top (grid-cols-1 / sm:grid-cols-3 / lg:grid-cols-6). Gauge is shrunk to size=140 so it fits a 6-col grid; sublabel trimmed to single-line currency pair so it doesn't wrap inside the narrow card. --- src/app/(app)/dashboard2/page.tsx | 68 +++++++++++++++---------------- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/src/app/(app)/dashboard2/page.tsx b/src/app/(app)/dashboard2/page.tsx index 141deb7..06f0933 100644 --- a/src/app/(app)/dashboard2/page.tsx +++ b/src/app/(app)/dashboard2/page.tsx @@ -114,8 +114,8 @@ export default function RepDashboardPage() {

- {/* Row 1: quotes-loaded KPIs */} -
+ {/* Row 1: quotes-loaded KPIs + this month's money (6 cards) */} +
+ + + + {monthRevenue.markupPct === null ? ( +
+ +

No orders yet this month

+
+ ) : ( + + )} +
{/* Row 2: trend + outstanding lists */} @@ -175,40 +205,6 @@ export default function RepDashboardPage() { />
- - {/* Row 3: this month's money */} -
- - - - {monthRevenue.markupPct === null ? ( -
- -

No orders yet this month

-
- ) : ( - - )} -
-
); }