import { Settings } from "@mui/icons-material";
import SpaceDashboardIcon from "@mui/icons-material/SpaceDashboard";

export const pageMenu = [
  {
    id: "dashboard",
    label: "پیشخوان",
    type: "page",
    route: "/dashboard",
    icon: <SpaceDashboardIcon sx={{ width: "inherit", height: "inherit" }} />,
    permissions: ["all"],
  },
  {
    id: "systemManagment",
    label: "مدیریت سامانه",
    type: "menu",
    icon: <Settings sx={{ width: "inherit", height: "inherit" }} />,
    hasSubitems: true,
    Subitems: [
      {
        id: "systemManagment-users",
        label: "کاربران",
        type: "page",
        route: "/dashboard/users",
        permissions: ["manage_users"],
      },
    ],
  },
];
