refactor(nav-config): correct 'Product' title to 'Products' and restore commented-out nav items
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import { Label } from 'src/components/label';
|
||||||
import { SvgColor } from 'src/components/svg-color';
|
import { SvgColor } from 'src/components/svg-color';
|
||||||
|
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
@@ -13,47 +14,43 @@ export type NavItem = {
|
|||||||
|
|
||||||
export const navData = [
|
export const navData = [
|
||||||
{
|
{
|
||||||
title: 'Product',
|
title: 'Products',
|
||||||
path: '/products',
|
path: '/products',
|
||||||
icon: icon('ic-cart'),
|
icon: icon('ic-cart'),
|
||||||
//#region example component
|
info: (
|
||||||
// info: (
|
<Label color="error" variant="inverted">
|
||||||
// <Label color="error" variant="inverted">
|
+3
|
||||||
// +3
|
</Label>
|
||||||
// </Label>
|
)
|
||||||
// ),
|
|
||||||
//#endregion
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Document Search',
|
title: 'Document Search',
|
||||||
path: '/doc-search',
|
path: '/doc-search',
|
||||||
icon: icon('ic-doc-search'),
|
icon: icon('ic-doc-search'),
|
||||||
}
|
},
|
||||||
//#region example pages
|
{
|
||||||
// {
|
title: 'Dashboard',
|
||||||
// title: 'Dashboard',
|
path: '/',
|
||||||
// path: '/',
|
icon: icon('ic-analytics'),
|
||||||
// icon: icon('ic-analytics'),
|
},
|
||||||
// },
|
{
|
||||||
// {
|
title: 'User',
|
||||||
// title: 'User',
|
path: '/user',
|
||||||
// path: '/user',
|
icon: icon('ic-user'),
|
||||||
// icon: icon('ic-user'),
|
},
|
||||||
// },
|
{
|
||||||
// {
|
title: 'Blog',
|
||||||
// title: 'Blog',
|
path: '/blog',
|
||||||
// path: '/blog',
|
icon: icon('ic-blog'),
|
||||||
// icon: icon('ic-blog'),
|
},
|
||||||
// },
|
{
|
||||||
// {
|
title: 'Sign in',
|
||||||
// title: 'Sign in',
|
path: '/sign-in',
|
||||||
// path: '/sign-in',
|
icon: icon('ic-lock'),
|
||||||
// icon: icon('ic-lock'),
|
},
|
||||||
// },
|
{
|
||||||
// {
|
title: 'Not found',
|
||||||
// title: 'Not found',
|
path: '/404',
|
||||||
// path: '/404',
|
icon: icon('ic-disabled'),
|
||||||
// icon: icon('ic-disabled'),
|
},
|
||||||
// },
|
|
||||||
//#endregion
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user