refactor(nav-config): reorganize navigation items and update titles for clarity

This commit is contained in:
OlgunR 2025-11-24 15:51:35 +01:00
parent cb28e90241
commit df144ae357

View File

@ -1,7 +1,7 @@
import { Label } from 'src/components/label';
import { SvgColor } from 'src/components/svg-color';
// ----------------------------------------------------------------------
// Navbar Icons
const icon = (name: string) => <SvgColor src={`/assets/icons/navbar/${name}.svg`} />;
@ -14,9 +14,19 @@ export type NavItem = {
export const navData = [
{
title: 'Products',
path: '/products',
icon: icon('ic-cart'),
title: 'Dashboard',
path: '/',
icon: icon('ic-analytics'),
},
{
title: 'EasyFlow',
path: '/doc-search',
icon: icon('ic-doc-search'),
},
{
title: 'TaskFlow',
path: '/blog',
icon: icon('ic-blog'),
info: (
<Label color="error" variant="inverted">
+3
@ -24,25 +34,15 @@ export const navData = [
)
},
{
title: 'Document Search',
path: '/doc-search',
icon: icon('ic-doc-search'),
title: 'OrgFlow',
path: '/products',
icon: icon('ic-cart'),
},
{
title: 'Dashboard',
path: '/',
icon: icon('ic-analytics'),
},
{
title: 'User',
title: 'User Manager',
path: '/user',
icon: icon('ic-user'),
},
{
title: 'Blog',
path: '/blog',
icon: icon('ic-blog'),
},
{
title: 'Sign in',
path: '/sign-in',