menu changes

master
Tudor Stanciu 2021-07-04 03:26:47 +03:00
parent b6bbb38d07
commit 06b59be4ec
1 changed files with 86 additions and 43 deletions

View File

@ -1,32 +1,95 @@
import { import {
Home as HomeIcon, Dashboard as DashboardIcon,
NotificationsNone as NotificationsIcon, NotificationsNone as NotificationsIcon,
FormatSize as TypographyIcon, FormatSize as TypographyIcon,
FilterNone as UIElementsIcon, FilterNone as UIElementsIcon,
BorderAll as TableIcon, BorderAll as TableIcon,
QuestionAnswer as SupportIcon, QuestionAnswer as SupportIcon,
LibraryBooks as LibraryIcon, LibraryBooks as LibraryIcon,
HelpOutline as FAQIcon HelpOutline as FAQIcon,
Image as ImageIcon,
Build as BuildIcon,
Settings as SettingsIcon,
NetworkCheck as NetworkCheckIcon
} from "@material-ui/icons"; } from "@material-ui/icons";
import Dot from "./components/Dot"; import Dot from "./components/Dot";
const menu = [ const menu = [
{ id: 0, label: "Dashboard", link: "/app/dashboard", icon: <HomeIcon /> }, {
id: 0,
label: "Dashboard",
link: "/app/dashboard",
icon: <DashboardIcon />
},
{ {
id: 1, id: 1,
label: "Resources",
link: "/app/typography",
icon: <ImageIcon />
},
{ id: 2, type: "divider" },
{ id: 3, type: "title", label: "System" },
{
id: 4,
label: "Admin",
link: "/app/typography",
icon: <BuildIcon />
},
{
id: 5,
label: "Settings",
link: "/app/typography",
icon: <SettingsIcon />,
children: [
{
id: 50,
label: "Notifications",
link: "/app/notifications",
icon: <NotificationsIcon />
}
]
},
{
id: 6,
label: "Health",
link: "/app/typography",
icon: <NetworkCheckIcon />
},
{ id: 7, type: "divider" },
{ id: 8, type: "title", label: "Community" },
{
id: 9,
label: "Library",
link: "https://dev.azure.com/tstanciu94/CDN",
icon: <LibraryIcon />
},
{
id: 10,
label: "Support",
link: "https://toodle.ddns.net/forum",
icon: <SupportIcon />
},
{
id: 11,
label: "FAQ",
link: "https://toodle.ddns.net/forum",
icon: <FAQIcon />
},
{ id: 12, type: "divider" },
{
id: 13,
label: "Template",
children: [
{
id: 14,
label: "Typography", label: "Typography",
link: "/app/typography", link: "/app/typography",
icon: <TypographyIcon /> icon: <TypographyIcon />
}, },
{ id: 2, label: "Tables", link: "/app/tables", icon: <TableIcon /> }, { id: 15, label: "Tables", link: "/app/tables", icon: <TableIcon /> },
{ {
id: 3, id: 16,
label: "Notifications",
link: "/app/notifications",
icon: <NotificationsIcon />
},
{
id: 4,
label: "UI Elements", label: "UI Elements",
link: "/app/ui", link: "/app/ui",
icon: <UIElementsIcon />, icon: <UIElementsIcon />,
@ -36,46 +99,26 @@ const menu = [
{ label: "Maps", link: "/app/ui/maps" } { label: "Maps", link: "/app/ui/maps" }
] ]
}, },
{ id: 5, type: "divider" },
{ id: 6, type: "title", label: "HELP" },
{ {
id: 7, id: 17,
label: "Library",
link: "https://flatlogic.com/templates",
icon: <LibraryIcon />
},
{
id: 8,
label: "Support",
link: "https://flatlogic.com/forum",
icon: <SupportIcon />
},
{
id: 9,
label: "FAQ",
link: "https://flatlogic.com/forum",
icon: <FAQIcon />
},
{ id: 10, type: "divider" },
{ id: 11, type: "title", label: "PROJECTS" },
{
id: 12,
label: "My recent", label: "My recent",
link: "", link: "",
icon: <Dot size="small" color="warning" /> icon: <Dot size="small" color="warning" />
}, },
{ {
id: 13, id: 18,
label: "Starred", label: "Starred",
link: "", link: "",
icon: <Dot size="small" color="primary" /> icon: <Dot size="small" color="primary" />
}, },
{ {
id: 14, id: 19,
label: "Background", label: "Background",
link: "", link: "",
icon: <Dot size="small" color="secondary" /> icon: <Dot size="small" color="secondary" />
} }
]
}
]; ];
export default menu; export default menu;