Merge branch 'mhmfajar-dev' into mhmfajar

This commit is contained in:
Muhammad Fajar
2022-11-17 16:13:49 +07:00
31 changed files with 1958 additions and 681 deletions

View File

@@ -1,56 +1,24 @@
// components
import SvgIconStyle from '../../../components/SvgIconStyle';
// ----------------------------------------------------------------------
const getIcon = (name: string) => (
<SvgIconStyle src={`/icons/${name}.svg`} sx={{ width: 1, height: 1 }} />
);
const ICONS = {
user: getIcon('ic_user'),
ecommerce: getIcon('ic_ecommerce'),
analytics: getIcon('ic_analytics'),
dashboard: getIcon('ic_dashboard'),
};
const navConfig = [
// GENERAL
// ----------------------------------------------------------------------
{
items: [{ title: 'Dashboard', path: '/dashboard' }],
},
// Case Management
// Alarm Center
// ----------------------------------------------------------------------
{
subheader: 'Case Management',
items: [
{
title: 'Alarm Center',
path: '/members',
// icon: ICONS.default,
path: '/alarm-center',
},
{
title: 'Claim Report',
path: '/claim-reports',
// icon: ICONS.default,
path: '/claim-report',
},
// {
// title: 'Member List',
// path: '/members',
// icon: ICONS.user,
// },
// {
// title: 'Member Movement',
// // path: '/',
// icon: ICONS.user,
// children: [
// { title: '', path: '/medicines' },
// { title: 'Obat', path: '/medicines' },
// { title: 'Obat', path: '/medicines' },
// ],
// },
],
},