294 lines
7.6 KiB
TypeScript
294 lines
7.6 KiB
TypeScript
export interface menu {
|
|
header?: string;
|
|
title?: string;
|
|
icon?: any;
|
|
id?: number;
|
|
to?: string;
|
|
chip?: string;
|
|
BgColor?: string;
|
|
chipBgColor?: string;
|
|
chipColor?: string;
|
|
chipVariant?: string;
|
|
chipIcon?: string;
|
|
children?: menu[];
|
|
disabled?: boolean;
|
|
type?: string;
|
|
subCaption?: string;
|
|
}
|
|
const sidebarItem: menu[] = [
|
|
{
|
|
header: 'dashboards',
|
|
id: 1,
|
|
children: [
|
|
{
|
|
title: 'Dashboard1',
|
|
icon: 'widget-add-line-duotone',
|
|
to: '/dashboards/dashboard1'
|
|
},
|
|
{
|
|
title: 'Dashboard2',
|
|
icon: 'chart-line-duotone',
|
|
to: '/dashboards/dashboard2'
|
|
},
|
|
{
|
|
title: 'Dashboard3',
|
|
icon: 'screencast-2-line-duotone',
|
|
to: '/dashboards/dashboard3'
|
|
},
|
|
{
|
|
title: 'Front Pages',
|
|
icon: 'home-angle-linear',
|
|
to: '/',
|
|
children: [
|
|
{
|
|
title: 'Homepage',
|
|
to: '/front-page/homepage'
|
|
},
|
|
{
|
|
title: 'About Us',
|
|
to: '/front-page/about-us'
|
|
},
|
|
{
|
|
title: 'Blog',
|
|
to: '/front-page/blog/posts'
|
|
},
|
|
{
|
|
title: 'Blog Details',
|
|
to: '/front-page/blog/early-black-friday-amazon-deals-cheap-tvs-headphones'
|
|
},
|
|
{
|
|
title: 'Contact Us',
|
|
to: '/front-page/contact-us'
|
|
},
|
|
{
|
|
title: 'Portfolio',
|
|
to: '/front-page/portfolio'
|
|
},
|
|
{
|
|
title: 'Pricing',
|
|
to: '/front-page/pricing'
|
|
}
|
|
]
|
|
},
|
|
]
|
|
},
|
|
|
|
{
|
|
header: 'apps',
|
|
id: 1,
|
|
children: [
|
|
{
|
|
title: 'ECommerce',
|
|
icon: 'cart-3-line-duotone',
|
|
to: '/ecommerce/',
|
|
children: [
|
|
{
|
|
title: 'Shop',
|
|
to: '/ecommerce/products'
|
|
},
|
|
{
|
|
title: 'Detail',
|
|
to: '/ecommerce/product/detail/1'
|
|
},
|
|
{
|
|
title: 'List',
|
|
to: '/ecommerce/productlist'
|
|
},
|
|
{
|
|
title: 'Checkout',
|
|
to: '/ecommerce/checkout'
|
|
},
|
|
{
|
|
title: 'Add Product',
|
|
to: '/ecommerce/add-product'
|
|
},
|
|
{
|
|
title: 'Edit Product',
|
|
to: '/ecommerce/edit-product'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
title: 'Blog',
|
|
icon: 'widget-4-line-duotone',
|
|
to: '/',
|
|
children: [
|
|
{
|
|
title: 'Blog Posts',
|
|
to: '/apps/blog/posts'
|
|
},
|
|
{
|
|
title: 'Blog Details',
|
|
to: '/apps/blog/early-black-friday-amazon-deals-cheap-tvs-headphones'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
title: 'User Profile',
|
|
icon: 'shield-user-line-duotone',
|
|
to: '/',
|
|
children: [
|
|
{
|
|
title: 'Profile',
|
|
to: '/apps/user/profile'
|
|
},
|
|
{
|
|
title: 'Followers',
|
|
to: '/apps/user/profile/followers'
|
|
},
|
|
{
|
|
title: 'Friends',
|
|
to: '/apps/user/profile/friends'
|
|
},
|
|
{
|
|
title: 'Gallery',
|
|
to: '/apps/user/profile/gallery'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
title: 'Invoice',
|
|
icon: 'bill-check-outline',
|
|
to: '/',
|
|
children: [
|
|
{
|
|
title: 'List',
|
|
to: '/apps/invoice'
|
|
},
|
|
{
|
|
title: 'Details',
|
|
to: '/apps/invoice/details/102'
|
|
},
|
|
{
|
|
title: 'Create',
|
|
to: '/apps/invoice/create'
|
|
},
|
|
{
|
|
title: 'Edit',
|
|
to: '/apps/invoice/edit/102'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
title: 'Calendar',
|
|
icon: 'calendar-mark-line-duotone',
|
|
to: '/apps/calendar'
|
|
},
|
|
{
|
|
title: 'Email',
|
|
icon: 'letter-linear',
|
|
to: '/apps/email'
|
|
},
|
|
{
|
|
title: 'Chats',
|
|
icon: 'chat-round-line-line-duotone',
|
|
to: '/apps/chats'
|
|
},
|
|
{
|
|
title: 'Notes',
|
|
icon: 'document-text-line-duotone',
|
|
to: '/apps/notes'
|
|
},
|
|
{
|
|
title: 'Kanban',
|
|
icon: 'airbuds-case-minimalistic-line-duotone',
|
|
to: '/apps/kanban'
|
|
},
|
|
{
|
|
title: 'Contact',
|
|
icon: 'iphone-line-duotone',
|
|
to: '/apps/contacts'
|
|
},
|
|
{
|
|
title: 'Tickets',
|
|
icon: 'ticker-star-outline',
|
|
to: '/apps/tickets'
|
|
},
|
|
]
|
|
},
|
|
|
|
{
|
|
header: 'Master',
|
|
id: 2,
|
|
children: [
|
|
|
|
]
|
|
},
|
|
|
|
{
|
|
header: 'UI Components',
|
|
id: 3,
|
|
children: [
|
|
{
|
|
title: 'Alerts',
|
|
icon: 'danger-triangle-line-duotone',
|
|
to: '/ui-components/alerts'
|
|
},
|
|
{
|
|
title: 'Avatar',
|
|
icon: 'user-circle-line-duotone',
|
|
to: '/ui-components/avatar'
|
|
},
|
|
{
|
|
title: 'Buttons',
|
|
icon: 'ghost-line-duotone',
|
|
to: '/ui-components/buttons'
|
|
},
|
|
{
|
|
title: 'Cards',
|
|
icon: 'layers-minimalistic-line-duotone',
|
|
to: '/ui-components/cards'
|
|
},
|
|
{
|
|
title: 'Chip',
|
|
icon: 'tag-horizontal-line-duotone',
|
|
to: '/ui-components/chip'
|
|
},
|
|
{
|
|
title: 'Dialogs',
|
|
icon: 'window-frame-line-duotone',
|
|
to: '/ui-components/dialogs'
|
|
},
|
|
{
|
|
title: 'Expansion Panel',
|
|
icon: 'hamburger-menu-line-duotone',
|
|
to: '/ui-components/expansionPanel'
|
|
},
|
|
{
|
|
title: 'List',
|
|
icon: 'list-line-duotone',
|
|
to: '/ui-components/list'
|
|
},
|
|
{
|
|
title: 'Menus',
|
|
icon: 'menu-dots-line-duotone',
|
|
to: '/ui-components/menus'
|
|
},
|
|
{
|
|
title: 'Ratting',
|
|
icon: 'star-line-duotone',
|
|
to: '/ui-components/ratting'
|
|
},
|
|
{
|
|
title: 'Tables',
|
|
icon: 'tablet-line-duotone',
|
|
to: '/ui-components/tables'
|
|
},
|
|
{
|
|
title: 'Tabs',
|
|
icon: 'notebook-line-duotone',
|
|
to: '/ui-components/tabs'
|
|
},
|
|
{
|
|
title: 'Tooltip',
|
|
icon: 'chat-round-dots-line-duotone',
|
|
to: '/ui-components/tooltip'
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
];
|
|
|
|
export default sidebarItem;
|