import { type TMenuConfig } from '@/components/menu';

export const MENU_SIDEBAR: TMenuConfig = [
  {
    title: '',
    children: [
      {
        title: 'Dashboard',
        path: '/'
      },
      {
        title: 'Pengajuan Kredit',
        children: [
          {
            title: 'Chart',
            path: '/pengajuan_kredit/chart'
          },
          {
            title: 'Summary',
            path: '/pengajuan_kredit/summary'
          },
          {
            title: 'List',
            path: '/pengajuan_kredit/list'
          }
        ]
      },
      {
        title: 'Instansi',
        path: '/instansi'
      },
      {
        title: 'Configuration',
        children: [
          {
            title: 'User Management',
            children: [
              {
                title: 'Manage Position',
                path: '/configuration/user-management/manage-position'
              },
              {
                title: 'Manage User',
                path: '/configuration/user-management/manage-user'
              },

              {
                title: 'Log Activity',
                path: '/configuration/user-management/log-activity'
              }
            ]
          }
        ]
      }
    ]
  },
  {
    title: 'Account',
    children: [
      {
        title: 'User Profile',
        path: '/account/home/user-profile'
      }
    ]
  }
];

export const MENU_ROOT: TMenuConfig = [
  {
    title: 'Pengajuan Kredit',
    icon: 'setting-2',
    rootPath: '/',
    path: '/',
    childrenIndex: 0
  }
];
