| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- import {
- IconBarrierBlock,
- IconBoxSeam,
- IconChartHistogram,
- IconChecklist,
- IconError404,
- IconExclamationCircle,
- IconHexagonNumber1,
- IconHexagonNumber2,
- IconHexagonNumber3,
- IconHexagonNumber4,
- IconLayoutDashboard,
- IconMessages,
- IconRouteAltLeft,
- IconServerOff,
- IconSettings,
- IconTruck,
- IconUserShield,
- IconUsers,
- } from '@tabler/icons-react'
- export interface NavLink {
- title: string
- label?: string
- href: string
- icon: JSX.Element
- }
- export interface SideLink extends NavLink {
- sub?: NavLink[]
- }
- export const sidelinks: SideLink[] = [
- {
- title: 'Dashboard',
- label: '',
- href: '/',
- icon: <IconLayoutDashboard size={18} />,
- },
- {
- title: 'Tasks',
- label: '3',
- href: '/tasks',
- icon: <IconChecklist size={18} />,
- },
- {
- title: 'Chats',
- label: '9',
- href: '/chats',
- icon: <IconMessages size={18} />,
- },
- {
- title: 'Authentication',
- label: '',
- href: '',
- icon: <IconUserShield size={18} />,
- sub: [
- {
- title: 'Sign In (email + password)',
- label: '',
- href: '/sign-in',
- icon: <IconHexagonNumber1 size={18} />,
- },
- {
- title: 'Sign In (Box)',
- label: '',
- href: '/sign-in-2',
- icon: <IconHexagonNumber2 size={18} />,
- },
- {
- title: 'Sign Up',
- label: '',
- href: '/sign-up',
- icon: <IconHexagonNumber3 size={18} />,
- },
- {
- title: 'Forgot Password',
- label: '',
- href: '/forgot-password',
- icon: <IconHexagonNumber4 size={18} />,
- },
- ],
- },
- {
- title: 'Users',
- label: '',
- href: '/users',
- icon: <IconUsers size={18} />,
- },
- {
- title: 'Requests',
- label: '10',
- href: '/requests',
- icon: <IconRouteAltLeft size={18} />,
- sub: [
- {
- title: 'Trucks',
- label: '9',
- href: '/trucks',
- icon: <IconTruck size={18} />,
- },
- {
- title: 'Cargos',
- label: '',
- href: '/cargos',
- icon: <IconBoxSeam size={18} />,
- },
- ],
- },
- {
- title: 'Analysis',
- label: '',
- href: '/analysis',
- icon: <IconChartHistogram size={18} />,
- },
- {
- title: 'Error Pages',
- label: '',
- href: '',
- icon: <IconExclamationCircle size={18} />,
- sub: [
- {
- title: 'Not Found',
- label: '',
- href: '/404',
- icon: <IconError404 size={18} />,
- },
- {
- title: 'Internal Server Error',
- label: '',
- href: '/500',
- icon: <IconServerOff size={18} />,
- },
- {
- title: 'Maintenance Error',
- label: '',
- href: '/503',
- icon: <IconBarrierBlock size={18} />,
- },
- ],
- },
- {
- title: 'Settings',
- label: '',
- href: '/settings',
- icon: <IconSettings size={18} />,
- },
- ]
|