import {
Dashboard as DashboardIcon,
NotificationsNone as NotificationsIcon,
FormatSize as TypographyIcon,
FilterNone as UIElementsIcon,
BorderAll as TableIcon,
QuestionAnswer as SupportIcon,
LibraryBooks as LibraryIcon,
HelpOutline as FAQIcon,
Image as ImageIcon,
Build as BuildIcon,
Settings as SettingsIcon,
NetworkCheck as NetworkCheckIcon
} from "@material-ui/icons";
import Dot from "./components/Dot";
let menu = [
{
id: 0,
label: "Dashboard",
link: "/dashboard",
icon:
},
{
id: 1,
label: "Resources",
link: "/resources",
icon:
},
{ id: 2, type: "divider" },
{ id: 3, type: "title", label: "System" },
{
id: 4,
label: "Admin",
link: "/admin",
icon:
},
{
id: 5,
label: "Settings",
link: "/settings",
icon: ,
children: [
{
id: 50,
label: "Notifications",
link: "/notifications",
icon:
}
]
},
{
id: 6,
label: "Health",
link: "/health",
icon:
},
{ id: 7, type: "divider" },
{ id: 8, type: "title", label: "Community" },
{
id: 9,
label: "Library",
link: "https://dev.azure.com/tstanciu94/CDN",
icon:
},
{
id: 10,
label: "Support",
link: "https://toodle.ddns.net/forum",
icon:
},
{
id: 11,
label: "FAQ",
link: "https://toodle.ddns.net/forum",
icon:
}
];
const enableTemplateContent =
process.env.REACT_APP_ENABLE_TEMPLATE_CONTENT === "True";
if (enableTemplateContent) {
menu.push(
{ id: 12, type: "divider" },
{
id: 13,
label: "Template",
children: [
{
id: 14,
label: "Typography",
link: "/typography",
icon:
},
{ id: 15, label: "Tables", link: "/tables", icon: },
{
id: 16,
label: "UI Elements",
link: "/ui",
icon: ,
children: [
{ label: "Icons", link: "/ui/icons" },
{ label: "Charts", link: "/ui/charts" },
{ label: "Maps", link: "/ui/maps" }
]
},
{
id: 17,
label: "My recent",
link: "",
icon:
},
{
id: 18,
label: "Starred",
link: "",
icon:
},
{
id: 19,
label: "Background",
link: "",
icon:
}
]
}
);
}
export default menu;