{card.label}
{card.detail}
import { Link } from "react-router-dom"; export function DashboardPage() { const metricCards = [ { label: "CRM Scope", value: "Complete", detail: "Customers, vendors, hierarchy, contacts, attachments", tone: "border-emerald-400/30 bg-emerald-500/12 text-emerald-700 dark:text-emerald-300" }, { label: "Inventory", value: "Live", detail: "Items, BOMs, warehouses, stock, transactions", tone: "border-sky-400/30 bg-sky-500/12 text-sky-700 dark:text-sky-300" }, { label: "Sales", value: "Active", detail: "Quotes, orders, totals, reseller pricing defaults", tone: "border-amber-400/30 bg-amber-500/12 text-amber-700 dark:text-amber-300" }, { label: "Shipping", value: "Online", detail: "Shipments, status flow, packing-slip PDFs", tone: "border-brand/30 bg-brand/10 text-brand" }, ]; const modulePanels = [ { title: "Commercial", eyebrow: "Revenue Flow", summary: "Quotes and sales orders now support item pricing, discount, tax, freight, and conversion workflows.", metrics: [ { label: "Quote -> SO", value: "Enabled" }, { label: "Totals Logic", value: "Live" }, { label: "Customer Lookup", value: "Searchable" }, ], links: [ { label: "Open quotes", to: "/sales/quotes" }, { label: "Open sales orders", to: "/sales/orders" }, ], }, { title: "Operations", eyebrow: "Stock + Ship", summary: "Inventory and shipping now share a usable operational path from item master through shipment paperwork.", metrics: [ { label: "On-Hand", value: "Tracked" }, { label: "Shipments", value: "Linked" }, { label: "Packing Slips", value: "Ready" }, ], links: [ { label: "Open inventory", to: "/inventory/items" }, { label: "Open shipments", to: "/shipping/shipments" }, ], }, { title: "Planning", eyebrow: "Next Layer", summary: "The dashboard is now intended as a modular command surface for future purchasing, manufacturing, and execution metrics.", metrics: [ { label: "PO Module", value: "Next" }, { label: "Gantt", value: "Preview" }, { label: "Audit", value: "Pending" }, ], links: [ { label: "Open gantt", to: "/planning/gantt" }, { label: "Company settings", to: "/settings/company" }, ], }, ]; const futureModules = [ "Purchasing queue and supplier receipts", "Shipment labels and bills of lading", "Manufacturing schedule and bottleneck metrics", "Audit and system-health diagnostics", ]; return (
Dashboard
This dashboard is now the primary landing surface for the platform. It is intended to stay modular as purchasing, manufacturing, shipping, and audit metrics are added in future slices.
Upgrade Path
{card.label}
{card.detail}
{panel.eyebrow}
{panel.summary}