From 06b59be4ec1936945fafb06819978438e2f2ffb3 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sun, 4 Jul 2021 03:26:47 +0300 Subject: [PATCH] menu changes --- src/components/Sidebar/menu.js | 129 ++++++++++++++++++++++----------- 1 file changed, 86 insertions(+), 43 deletions(-) diff --git a/src/components/Sidebar/menu.js b/src/components/Sidebar/menu.js index ec1969b..8b1ec73 100644 --- a/src/components/Sidebar/menu.js +++ b/src/components/Sidebar/menu.js @@ -1,80 +1,123 @@ import { - Home as HomeIcon, + Dashboard as DashboardIcon, NotificationsNone as NotificationsIcon, FormatSize as TypographyIcon, FilterNone as UIElementsIcon, BorderAll as TableIcon, QuestionAnswer as SupportIcon, 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"; import Dot from "./components/Dot"; const menu = [ - { id: 0, label: "Dashboard", link: "/app/dashboard", icon: }, + { + id: 0, + label: "Dashboard", + link: "/app/dashboard", + icon: + }, { id: 1, - label: "Typography", + label: "Resources", link: "/app/typography", - icon: - }, - { id: 2, label: "Tables", link: "/app/tables", icon: }, - { - id: 3, - label: "Notifications", - link: "/app/notifications", - icon: + icon: }, + + { id: 2, type: "divider" }, + { id: 3, type: "title", label: "System" }, { id: 4, - label: "UI Elements", - link: "/app/ui", - icon: , + label: "Admin", + link: "/app/typography", + icon: + }, + { + id: 5, + label: "Settings", + link: "/app/typography", + icon: , children: [ - { label: "Icons", link: "/app/ui/icons" }, - { label: "Charts", link: "/app/ui/charts" }, - { label: "Maps", link: "/app/ui/maps" } + { + id: 50, + label: "Notifications", + link: "/app/notifications", + icon: + } ] }, - { id: 5, type: "divider" }, - { id: 6, type: "title", label: "HELP" }, { - id: 7, + id: 6, + label: "Health", + link: "/app/typography", + icon: + }, + { id: 7, type: "divider" }, + { id: 8, type: "title", label: "Community" }, + { + id: 9, label: "Library", - link: "https://flatlogic.com/templates", + link: "https://dev.azure.com/tstanciu94/CDN", icon: }, { - id: 8, + id: 10, label: "Support", - link: "https://flatlogic.com/forum", + link: "https://toodle.ddns.net/forum", icon: }, { - id: 9, + id: 11, label: "FAQ", - link: "https://flatlogic.com/forum", + link: "https://toodle.ddns.net/forum", icon: }, - { id: 10, type: "divider" }, - { id: 11, type: "title", label: "PROJECTS" }, - { - id: 12, - label: "My recent", - link: "", - icon: - }, + { id: 12, type: "divider" }, { id: 13, - label: "Starred", - link: "", - icon: - }, - { - id: 14, - label: "Background", - link: "", - icon: + label: "Template", + children: [ + { + id: 14, + label: "Typography", + link: "/app/typography", + icon: + }, + { id: 15, label: "Tables", link: "/app/tables", icon: }, + { + id: 16, + label: "UI Elements", + link: "/app/ui", + icon: , + children: [ + { label: "Icons", link: "/app/ui/icons" }, + { label: "Charts", link: "/app/ui/charts" }, + { label: "Maps", link: "/app/ui/maps" } + ] + }, + { + id: 17, + label: "My recent", + link: "", + icon: + }, + { + id: 18, + label: "Starred", + link: "", + icon: + }, + { + id: 19, + label: "Background", + link: "", + icon: + } + ] } ];