This commit is contained in:
2025-07-03 14:57:57 +07:00
parent be4de9f24a
commit 1b05076317
22 changed files with 631 additions and 35 deletions

View File

@@ -14,21 +14,28 @@ export interface menu {
disabled?: boolean;
type?: string;
subCaption?: string;
role?: string[];
permission?: string[];
}
const sidebarItem: menu[] = [
{
header: 'dashboards',
header: "dashboards",
id: 1,
children: [
children: [
{
title: 'Dashboard1',
icon: 'widget-add-line-duotone',
to: '/dashboards/dashboard1'
to: '/dashboards/dashboard1',
// role: ['admin'],
//permission: ['view', 'update', 'create', 'delete'],
},
{
title: 'Dashboard2',
icon: 'chart-line-duotone',
to: '/dashboards/dashboard2'
to: '/dashboards/dashboard2',
// role: ['admin','user'],
//permission: ['view', 'update', 'create', 'delete'],
},
{
title: 'Dashboard3',
@@ -42,11 +49,15 @@ const sidebarItem: menu[] = [
children: [
{
title: 'Homepage',
to: '/front-page/homepage'
to: '/front-page/homepage',
//role: ['admin','user'],
//permission: ['view', 'update', 'create', 'delete'],
},
{
title: 'About Us',
to: '/front-page/about-us'
to: '/front-page/about-us',
//role: ['admin','user'],
//permission: ['view', 'update', 'create', 'delete'],
},
{
title: 'Blog',