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