diff --git a/next.config.js b/next.config.js index 409876a..a288e34 100644 --- a/next.config.js +++ b/next.config.js @@ -6,7 +6,7 @@ const nextConfig = { defaultLocale: 'fa', locales: ['fa'], localeDetection: false, - }, + } } module.exports = nextConfig diff --git a/public/manifest.json b/public/manifest.json index fc11229..83c33f7 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -7,8 +7,8 @@ "start_url": "/dashboard", "orientation": "portrait", "display": "standalone", - "theme_color": "#5B36DB", - "background_color": "#5B36DB", + "theme_color": "#084070", + "background_color": "#084070", "icons": [ { "src": "/icons/maskable_icon.png", diff --git a/src/layouts/dashboardLayouts/sidebar/SidebarListItem.jsx b/src/layouts/dashboardLayouts/sidebar/SidebarListItem.jsx index 9f9fb3d..616ecb5 100644 --- a/src/layouts/dashboardLayouts/sidebar/SidebarListItem.jsx +++ b/src/layouts/dashboardLayouts/sidebar/SidebarListItem.jsx @@ -1,7 +1,7 @@ import {NextLinkComposed} from "@/core/components/LinkRouting"; import ExpandLess from "@mui/icons-material/ExpandLess"; import ExpandMore from "@mui/icons-material/ExpandMore"; -import {Badge, Box, ListItem, ListItemButton, ListItemIcon, ListItemText, Typography,} from "@mui/material"; +import {Badge, IconButton, ListItem, ListItemButton, ListItemIcon, ListItemText, Typography,} from "@mui/material"; import {useTranslations} from "next-intl"; import {Fragment} from "react"; import SidebarListSubItem from "./SidebarListSubItem"; @@ -11,7 +11,19 @@ const SidebarListItem = ({item, dispatch, handleDrawerToggle}) => { return ( - + + + + }> { sx={{ minHeight: 48, }} + > { } /> + {item.type == "menu" && (item.showSubItem ? : )} - - - {item.subItem && (