161 lines
5.7 KiB
TypeScript
161 lines
5.7 KiB
TypeScript
import {useIntl} from 'react-intl'
|
|
import {KTIcon} from '../../../../helpers'
|
|
import {SidebarMenuItemWithSub} from './SidebarMenuItemWithSub'
|
|
import {SidebarMenuItem} from './SidebarMenuItem'
|
|
|
|
const SidebarMenuMain = () => {
|
|
const intl = useIntl()
|
|
|
|
return (
|
|
<>
|
|
<SidebarMenuItem
|
|
to='/dashboard'
|
|
icon='element-11'
|
|
title={intl.formatMessage({id: 'MENU.DASHBOARD'})}
|
|
fontIcon='bi-app-indicator'
|
|
/>
|
|
{/*<SidebarMenuItem to='/builder' icon='switch' title='Layout Builder' fontIcon='bi-layers' />*/}
|
|
{/* <div className='menu-item'>
|
|
<div className='menu-content pt-8 pb-2'>
|
|
<span className='menu-section text-muted text-uppercase fs-8 ls-1'>Loan</span>
|
|
</div>
|
|
</div> */}
|
|
<SidebarMenuItemWithSub
|
|
to='/loan/pages'
|
|
title='Process'
|
|
fontIcon='bi-archive'
|
|
icon='element-plus'
|
|
menuIsOpen={true}
|
|
>
|
|
<SidebarMenuItemWithSub to='/loan/pages/process' title='Loan' hasBullet={true} menuIsOpen={true}>
|
|
<SidebarMenuItem to='/loan/pages/process/started' title='Started' hasBullet={true} />
|
|
<SidebarMenuItem to='/loan/pages/process/pending' title='Pending' hasBullet={true} />
|
|
<SidebarMenuItem
|
|
to='/loan/pages/process/ready'
|
|
title='Ready'
|
|
hasBullet={true}
|
|
/>
|
|
<SidebarMenuItem to='/loan/pages/process/verified' title='Verified' hasBullet={true} />
|
|
<SidebarMenuItem
|
|
to='/loan/pages/process/approved'
|
|
title='Approved'
|
|
hasBullet={true}
|
|
/>
|
|
<SidebarMenuItem
|
|
to='/loan/pages/process/rejected'
|
|
title='Rejected'
|
|
hasBullet={true}
|
|
/>
|
|
</SidebarMenuItemWithSub>
|
|
|
|
{/* <SidebarMenuItemWithSub to='/crafted/pages/wizards' title='Wizards' hasBullet={true}>
|
|
<SidebarMenuItem
|
|
to='/crafted/pages/wizards/horizontal'
|
|
title='Horizontal'
|
|
hasBullet={true}
|
|
/>
|
|
<SidebarMenuItem to='/crafted/pages/wizards/vertical' title='Vertical' hasBullet={true} />
|
|
</SidebarMenuItemWithSub> */}
|
|
</SidebarMenuItemWithSub>
|
|
|
|
{/* <SidebarMenuItemWithSub
|
|
to='/crafted/accounts'
|
|
title='Accounts'
|
|
icon='profile-circle'
|
|
fontIcon='bi-person'
|
|
>
|
|
<SidebarMenuItem to='/crafted/account/overview' title='Overview' hasBullet={true} />
|
|
<SidebarMenuItem to='/crafted/account/settings' title='Settings' hasBullet={true} />
|
|
</SidebarMenuItemWithSub> */}
|
|
|
|
{/* <SidebarMenuItemWithSub to='/error' title='Errors' fontIcon='bi-sticky' icon='cross-circle'>
|
|
<SidebarMenuItem to='/error/404' title='Error 404' hasBullet={true} />
|
|
<SidebarMenuItem to='/error/500' title='Error 500' hasBullet={true} />
|
|
</SidebarMenuItemWithSub> */}
|
|
|
|
{/* <SidebarMenuItemWithSub
|
|
to='/crafted/widgets'
|
|
title='Widgets'
|
|
icon='element-7'
|
|
fontIcon='bi-layers'
|
|
>
|
|
<SidebarMenuItem to='/crafted/widgets/lists' title='Lists' hasBullet={true} />
|
|
<SidebarMenuItem to='/crafted/widgets/statistics' title='Statistics' hasBullet={true} />
|
|
<SidebarMenuItem to='/crafted/widgets/charts' title='Charts' hasBullet={true} />
|
|
<SidebarMenuItem to='/crafted/widgets/mixed' title='Mixed' hasBullet={true} />
|
|
<SidebarMenuItem to='/crafted/widgets/tables' title='Tables' hasBullet={true} />
|
|
<SidebarMenuItem to='/crafted/widgets/feeds' title='Feeds' hasBullet={true} />
|
|
</SidebarMenuItemWithSub> */}
|
|
|
|
<div className='menu-item'>
|
|
<div className='menu-content pt-8 pb-2'>
|
|
<span className='menu-section text-muted text-uppercase fs-8 ls-1'>Tools</span>
|
|
</div>
|
|
</div>
|
|
|
|
{/* <SidebarMenuItemWithSub
|
|
to='/apps/chat'
|
|
title='Chat'
|
|
fontIcon='bi-chat-left'
|
|
icon='message-text-2'
|
|
>
|
|
<SidebarMenuItem to='/apps/chat/private-chat' title='Private Chat' hasBullet={true} />
|
|
<SidebarMenuItem to='/apps/chat/group-chat' title='Group Chart' hasBullet={true} />
|
|
<SidebarMenuItem to='/apps/chat/drawer-chat' title='Drawer Chart' hasBullet={true} />
|
|
</SidebarMenuItemWithSub> */}
|
|
|
|
<SidebarMenuItem
|
|
to='/tools/user-management/customers'
|
|
icon='abstract-28'
|
|
title='Customers'
|
|
fontIcon='bi-layers'
|
|
/>
|
|
|
|
|
|
<div className='menu-item'>
|
|
<div className='menu-content pt-8 pb-2'>
|
|
<span className='menu-section text-muted text-uppercase fs-8 ls-1'>Employers</span>
|
|
</div>
|
|
</div>
|
|
<SidebarMenuItem
|
|
to='employers/employerslist'
|
|
icon='abstract-28'
|
|
title='List'
|
|
fontIcon='bi-layers'
|
|
/>
|
|
<SidebarMenuItem
|
|
to='employers/signatory'
|
|
icon='abstract-28'
|
|
title='Signatory'
|
|
fontIcon='bi-layers'
|
|
/>
|
|
{/*<div className='menu-item'>*/}
|
|
{/* <a*/}
|
|
{/* target='_blank'*/}
|
|
{/* className='menu-link'*/}
|
|
{/* href={import.meta.env.VITE_APP_PREVIEW_DOCS_URL + '/changelog'}*/}
|
|
{/* >*/}
|
|
{/* <span className='menu-icon'>*/}
|
|
{/* <KTIcon iconName='code' className='fs-2' />*/}
|
|
{/* </span>*/}
|
|
{/* <span className='menu-title'>Changelog {import.meta.env.VITE_APP_VERSION}</span>*/}
|
|
{/* </a>*/}
|
|
{/*</div>*/}
|
|
|
|
<div className='menu-item'>
|
|
<div className='menu-content pt-8 pb-2'>
|
|
<span className='menu-section text-muted text-uppercase fs-8 ls-1'>Admin</span>
|
|
</div>
|
|
</div>
|
|
<SidebarMenuItem
|
|
to='/tools/user-management/users'
|
|
icon='abstract-28'
|
|
title='Users'
|
|
fontIcon='bi-layers'
|
|
/>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export {SidebarMenuMain}
|