From 8885c55817af470bda3bce43f147fa61615fe042 Mon Sep 17 00:00:00 2001 From: abhishek Date: Mon, 27 Jul 2026 12:09:41 +0530 Subject: [PATCH] lat and long --- src/components/DashboardView.tsx | 91 ++++++++------------------------ 1 file changed, 21 insertions(+), 70 deletions(-) diff --git a/src/components/DashboardView.tsx b/src/components/DashboardView.tsx index 77fe8f7..7547818 100644 --- a/src/components/DashboardView.tsx +++ b/src/components/DashboardView.tsx @@ -132,60 +132,7 @@ export default function DashboardView({ searchQuery, tenantId = FIESTA_TENANT_ID return (
- {/* ── Immersive Executive Banner (cover image + slate→purple gradient overlay) ── */} -
- {/* Cover image background & decorative glow */} -
- Executive operations dashboard -
-
-
-
- {/* Content row */} -
-
-

- Executive Command Center - - Live Core - -

-

- Month-to-date order operations for {tenantName}, pulled live from the API. -

- -
- {loading ? ( - - Syncing live data… - - ) : errored ? ( - - Live data unavailable - - ) : ( - - Live · {tenantName} - - )} -
-
- - {/* Reporting scope panel */} -
-
- - {fromdate} → {todate} -
- Month-to-date reporting scope -
-
-
{/* Error hint */} {errored && ( @@ -202,31 +149,35 @@ export default function DashboardView({ searchQuery, tenantId = FIESTA_TENANT_ID )} {/* KPI cards — all live from getordersummary / getinvoiceinsight */} -
+
{kpis.map((kpi) => { const Icon = kpi.icon; return (
{/* Gradient accent bar */} - -
-
- -
- + + +
+ +
+ +
+
+

+ {kpi.title} +

+ +
+

+ {kpi.loading ? : kpi.display} +

+

+ {kpi.sub} +

-

- {kpi.title} -

-

- {kpi.loading ? : kpi.display} -

-

- {kpi.sub} -

); })}