import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import SimpleLineIcon from 'react-simple-line-icons'

import {dashboardComponentRoutes} from  '../../inside-dashboard/all-routes'

export const menuItems = [
    {
        id: dashboardComponentRoutes.DASHBOARD_LINK.id,
        title: dashboardComponentRoutes.DASHBOARD_LINK.title,
        icon: <SimpleLineIcon name="speedometer" size="Medium" />,
        isDropDown: false,
        linkTo: `${dashboardComponentRoutes.GRAPH_LIST.route}`,       
    },
    {
        id: dashboardComponentRoutes.SUBSCRIPTION_CODE_LINK.id,
        title: dashboardComponentRoutes.SUBSCRIPTION_CODE_LINK.title,
        icon: <SimpleLineIcon name="tag" size="Medium" />,
        isDropDown: true,
        linkTo: "#",
        subItems: [
            {
                linkTo: `${dashboardComponentRoutes.ALL_SUBS_CODES.route}`,
                title: "All Subscription Code",
                id: dashboardComponentRoutes.ALL_SUBS_CODES.id
            },
            {
                linkTo: `${dashboardComponentRoutes.ADD_SUBS_CODE.route}`,
                title: "Add Subscription Code",
                id: dashboardComponentRoutes.ADD_SUBS_CODE.id
            }
        ] 
    },    
    {
        id: dashboardComponentRoutes.EDUCATORS_LINK.id,
        title: dashboardComponentRoutes.EDUCATORS_LINK.title,
        icon: <SimpleLineIcon name="people" size="Medium" />,
        isDropDown: true,
        linkTo: "#",
        subItems: [
            {
                linkTo: `${dashboardComponentRoutes.ALL_EDUCATORS.route}`,
                title: dashboardComponentRoutes.ALL_EDUCATORS.title,
                id: dashboardComponentRoutes.ALL_EDUCATORS.id
            }
        ] 
    },
    {
        id: dashboardComponentRoutes.PATIENTS_LINK.id,
        title: dashboardComponentRoutes.PATIENTS_LINK.title,
        icon: <SimpleLineIcon name="user" size="Medium" />,
        isDropDown: true,
        linkTo: "#",
        subItems: [
            {
                linkTo: `${dashboardComponentRoutes.ALL_PATIENTS.route}`,
                title: dashboardComponentRoutes.ALL_PATIENTS.title,
                id: dashboardComponentRoutes.ALL_PATIENTS.id
            },
            {
                linkTo: `${dashboardComponentRoutes.ALL_VISITORS.route}`,
                title: dashboardComponentRoutes.ALL_VISITORS.title,
                id: dashboardComponentRoutes.ALL_VISITORS.id
            }
        ] 
    },
    {
        id: dashboardComponentRoutes.MEDICAL_LOGS_LINK.id,
        title: dashboardComponentRoutes.MEDICAL_LOGS_LINK.title,
        icon: <FontAwesomeIcon icon="stethoscope"/> ,
        isDropDown: true,
        linkTo: "#",
        subItems: [
            {
                linkTo: `${dashboardComponentRoutes.CASE_HISTORY.route}`,
                title: dashboardComponentRoutes.CASE_HISTORY.title,
                id: dashboardComponentRoutes.CASE_HISTORY.id

            },
            {
                linkTo: `${dashboardComponentRoutes.DAILY_LOGS.route}`,
                title: dashboardComponentRoutes.DAILY_LOGS.title,
                id: dashboardComponentRoutes.DAILY_LOGS.id

            },
            {
                linkTo: `${dashboardComponentRoutes.LAB_REPORT.route}`,
                title: dashboardComponentRoutes.LAB_REPORT.title,
                id: dashboardComponentRoutes.LAB_REPORT.id

            },
            {
                linkTo: `${dashboardComponentRoutes.DIET_PLAN.route}`,
                title: dashboardComponentRoutes.DIET_PLAN.title,
                id: dashboardComponentRoutes.DIET_PLAN.id

            }
        ] 
    },{
        id: dashboardComponentRoutes.REPORT.id,
        title: dashboardComponentRoutes.REPORT.title,
        icon: <FontAwesomeIcon icon="file-medical"/>,
        isDropDown: false,
        linkTo: `${dashboardComponentRoutes.REPORT.route}`,       
    }
]