import Button from "@/components/common/button";
import { initialRows } from "@/constants/constant";
import { ChevronDown, Trash2, X, Plus, } from "lucide-react";
// Note the 'export default' keyword here:
export default function DynamicDashboardPortal() {
return (
{/* --- HEADER SECTION --- */}
PLATFORM
•
DYNAMIC DASHBOARD
Dynamic dashboard
Design the dashboard each tenant's users land on in Operations. Arrange rows,
drop in report widgets, then publish.
{/* Action Buttons */}
PUBLISHED
{/* --- CONTROL BAR: DESIGNING FOR TENANT --- */}
Designing for
3 rows · 7 widgets
{/* --- CANVAS GRID AREA --- */}
{initialRows.map((row) => (
{/* Delete Row Button */}
{/* Row Widgets Layout */}
{row.widgets.map((widget) => (
{/* Widget Top Header */}
{widget.title}
{widget.type}
{/* Widget Placeholder Bar Chart */}
))}
))}
{/* --- BOTTOM ADD ROW CONTROLS --- */}
Add row:
);
}