diff --git a/distribution_fe/app/(dashboard)/page.tsx b/distribution_fe/app/(dashboard)/page.tsx index 342568f..8cb3996 100644 --- a/distribution_fe/app/(dashboard)/page.tsx +++ b/distribution_fe/app/(dashboard)/page.tsx @@ -1,8 +1,5 @@ +import { DashboardCanvas } from '@/components/dashboard/dashboard-canvas' + export default function DashboardPage() { - return ( -
Welcome to the Distribution ERP.
-+ {isEditing + ? 'Drag to reposition · Resize from the corner · Add or remove widgets' + : `Welcome back, ${user.fullName}`} +
+Your dashboard is empty
++ Click Customize, then Add widget to get started. +
+ {!isEditing && ( + + )} +Unknown widget type: {widgetType}
+ )} +{def.label}
+{def.description}
++ Default size: {def.defaultW}×{def.defaultH} +
+No active rides right now
+ ) : ( + data.map(ride => ( +No pending loading sheets
+ ) : ( + data.map(sheet => ( +No pending purchase orders
+ ) : ( + data.map(po => ( +No orders yet
+ ) : ( +All stock levels are healthy
+ ) : ( + alerts.map(b => ( +