update
This commit is contained in:
@@ -1,46 +1,39 @@
|
||||
import Alert from '@mui/material/Alert';
|
||||
import Box from '@mui/material/Box';
|
||||
import { iconButtonClasses } from '@mui/material/IconButton';
|
||||
import type { Breakpoint } from '@mui/material/styles';
|
||||
import type { NavItemProps, NavSectionProps } from 'src/components/nav-section';
|
||||
|
||||
import { useTheme } from '@mui/material/styles';
|
||||
import { merge } from 'es-toolkit';
|
||||
import { useBoolean } from 'minimal-shared/hooks';
|
||||
|
||||
import Box from '@mui/material/Box';
|
||||
import Alert from '@mui/material/Alert';
|
||||
import { useTheme } from '@mui/material/styles';
|
||||
import { iconButtonClasses } from '@mui/material/IconButton';
|
||||
|
||||
import { allLangs } from 'src/locales';
|
||||
import { _contacts, _notifications } from 'src/_mock';
|
||||
|
||||
import { Logo } from 'src/components/logo';
|
||||
import { useSettingsContext } from 'src/components/settings';
|
||||
|
||||
import { useMockedUser } from 'src/auth/hooks';
|
||||
|
||||
import { NavMobile } from './nav-mobile';
|
||||
import { VerticalDivider } from './content';
|
||||
import { NavVertical } from './nav-vertical';
|
||||
import { layoutClasses } from '../core/classes';
|
||||
import { NavHorizontal } from './nav-horizontal';
|
||||
import { _account } from '../nav-config-account';
|
||||
import { MainSection } from '../core/main-section';
|
||||
import { Searchbar } from '../components/searchbar';
|
||||
import { _workspaces } from '../nav-config-workspace';
|
||||
import { MenuButton } from '../components/menu-button';
|
||||
import { HeaderSection } from '../core/header-section';
|
||||
import { LayoutSection } from '../core/layout-section';
|
||||
import { Logo } from 'src/components/logo';
|
||||
import type { NavItemProps, NavSectionProps } from 'src/components/nav-section';
|
||||
import { useSettingsContext } from 'src/components/settings';
|
||||
import { allLangs } from 'src/locales';
|
||||
import { AccountDrawer } from '../components/account-drawer';
|
||||
import { SettingsButton } from '../components/settings-button';
|
||||
import { LanguagePopover } from '../components/language-popover';
|
||||
import { ContactsPopover } from '../components/contacts-popover';
|
||||
import { WorkspacesPopover } from '../components/workspaces-popover';
|
||||
import { navData as dashboardNavData } from '../nav-config-dashboard';
|
||||
import { dashboardLayoutVars, dashboardNavColorVars } from './css-vars';
|
||||
import { LanguagePopover } from '../components/language-popover';
|
||||
import { MenuButton } from '../components/menu-button';
|
||||
import { NotificationsDrawer } from '../components/notifications-drawer';
|
||||
|
||||
import type { MainSectionProps } from '../core/main-section';
|
||||
import { Searchbar } from '../components/searchbar';
|
||||
import { SettingsButton } from '../components/settings-button';
|
||||
import { WorkspacesPopover } from '../components/workspaces-popover';
|
||||
import { layoutClasses } from '../core/classes';
|
||||
import { HeaderSection } from '../core/header-section';
|
||||
import type { HeaderSectionProps } from '../core/header-section';
|
||||
import { LayoutSection } from '../core/layout-section';
|
||||
import type { LayoutSectionProps } from '../core/layout-section';
|
||||
import { MainSection } from '../core/main-section';
|
||||
import type { MainSectionProps } from '../core/main-section';
|
||||
import { _account } from '../nav-config-account';
|
||||
import { navData as dashboardNavData } from '../nav-config-dashboard';
|
||||
import { _workspaces } from '../nav-config-workspace';
|
||||
import { VerticalDivider } from './content';
|
||||
import { dashboardLayoutVars, dashboardNavColorVars } from './css-vars';
|
||||
import { NavHorizontal } from './nav-horizontal';
|
||||
import { NavMobile } from './nav-mobile';
|
||||
import { NavVertical } from './nav-vertical';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
|
@@ -1,18 +1,14 @@
|
||||
import type { Breakpoint } from '@mui/material/styles';
|
||||
import type { NavSectionProps } from 'src/components/nav-section';
|
||||
|
||||
import { varAlpha, mergeClasses } from 'minimal-shared/utils';
|
||||
|
||||
import Box from '@mui/material/Box';
|
||||
import type { Breakpoint } from '@mui/material/styles';
|
||||
import { styled } from '@mui/material/styles';
|
||||
|
||||
import { mergeClasses, varAlpha } from 'minimal-shared/utils';
|
||||
import { Logo } from 'src/components/logo';
|
||||
import { Scrollbar } from 'src/components/scrollbar';
|
||||
import type { NavSectionProps } from 'src/components/nav-section';
|
||||
import { NavSectionMini, NavSectionVertical } from 'src/components/nav-section';
|
||||
|
||||
import { layoutClasses } from '../core/classes';
|
||||
import { NavUpgrade } from '../components/nav-upgrade';
|
||||
import { Scrollbar } from 'src/components/scrollbar';
|
||||
import { NavToggleButton } from '../components/nav-toggle-button';
|
||||
import { NavUpgrade } from '../components/nav-upgrade';
|
||||
import { layoutClasses } from '../core/classes';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
|
@@ -1,12 +1,9 @@
|
||||
import type { NavSectionProps } from 'src/components/nav-section';
|
||||
|
||||
import { paths } from 'src/routes/paths';
|
||||
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { Label } from 'src/components/label';
|
||||
import { Iconify } from 'src/components/iconify';
|
||||
import { Label } from 'src/components/label';
|
||||
import type { NavSectionProps } from 'src/components/nav-section';
|
||||
import { SvgColor } from 'src/components/svg-color';
|
||||
import { CONFIG } from 'src/global-config';
|
||||
import { paths } from 'src/routes/paths';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
@@ -158,7 +155,7 @@ export const navData: NavSectionProps['data'] = [
|
||||
{ title: 'Edit', path: paths.dashboard.tour.demo.edit },
|
||||
],
|
||||
},
|
||||
{ title: 'File manager', path: paths.dashboard.fileManager, icon: ICONS.folder },
|
||||
{ title: 'File-manager', path: paths.dashboard.fileManager, icon: ICONS.folder },
|
||||
{
|
||||
title: 'Mail',
|
||||
path: paths.dashboard.mail,
|
||||
@@ -263,7 +260,7 @@ export const navData: NavSectionProps['data'] = [
|
||||
icon: ICONS.parameter,
|
||||
},
|
||||
{
|
||||
title: 'External link',
|
||||
title: 'External-link',
|
||||
path: 'https://www.google.com/',
|
||||
icon: ICONS.external,
|
||||
info: <Iconify width={18} icon="eva:external-link-fill" />,
|
||||
|
Reference in New Issue
Block a user