ui componenet based on the requirements

This commit is contained in:
mengstabketemaw
2026-06-20 09:44:41 +03:00
parent 1f27a36b90
commit 5d8e749cf7
28 changed files with 8652 additions and 41 deletions

View File

@@ -7,20 +7,37 @@ import { logout } from '@ema-platform/auth';
import { AppHeader, AppSidebar } from '@ema-platform/ui';
import type { NavItem } from '@ema-platform/ui';
import {
IconBook2,
IconChartBar,
IconCreditCard,
IconFileDescription,
IconHeart,
IconLayoutDashboard,
IconUsers,
IconUser,
IconMap,
IconShieldCheck,
IconRubberStamp,
IconSettings,
IconUser,
IconUsers,
} from '@tabler/icons-react';
import { notify } from '@ema-platform/ui';
import { SUPPORTED_LANGUAGES } from '../i18n/config';
import { useAppDispatch, useAppSelector } from '../store/hooks';
const NAV_ITEMS: NavItem[] = [
{ to: '/dashboard', label: 'Dashboard', icon: IconLayoutDashboard },
{ to: '/dashboard', label: 'Dashboard', icon: IconLayoutDashboard },
{ to: '/um/user-management/dashboard', label: 'User Management', icon: IconUsers },
{ to: '/configuration', label: 'Configuration', icon: IconSettings },
{ to: '/profile', label: 'Profile', icon: IconUser },
{ to: '/seaman-book-queue', label: 'Seaman Book Queue', icon: IconBook2 },
{ to: '/coc-queue', label: 'CoC / CoP Queue', icon: IconShieldCheck },
{ to: '/endorsement-queue', label: 'Endorsement Queue', icon: IconRubberStamp },
{ to: '/seafarer-registry', label: 'Seafarer Registry', icon: IconUsers },
{ to: '/applications', label: 'Applications', icon: IconFileDescription },
{ to: '/payment-config', label: 'Payment Config', icon: IconCreditCard },
{ to: '/analytics', label: 'Analytics', icon: IconChartBar },
{ to: '/medical-verification', label: 'Medical Verification', icon: IconHeart },
{ to: '/locations', label: 'Locations', icon: IconMap },
{ to: '/configuration', label: 'Configuration', icon: IconSettings },
{ to: '/profile', label: 'Profile', icon: IconUser },
];
const HEADER_HEIGHT = 116;