import React, {useState} from 'react'; import {Layout, Menu, theme, Button, Modal, MenuProps, Breadcrumb, Dropdown, Space} from 'antd'; import { SettingOutlined, QuestionCircleOutlined, LogoutOutlined, RightOutlined} from '@ant-design/icons'; import '../../public/assets/left_side_nav.css'; import AdministrationIcon from '~/components/customIcon/AdministrationIcon'; import MyCoursesIcon from '~/components/customIcon/MyCoursesIcon'; import ExaminationIcon from '~/components/customIcon/ExaminationIcon'; import CommunityIcon from '~/components/customIcon/CommunityIcon'; import NotificationIcon from '~/components/customIcon/NotificationIcon'; import { BrowserRouter as Router, Route, Routes, Link } from 'react-router-dom'; const items2: MenuProps['items'] = [ { key: '1', icon: , label: (

  Administration

), children: [ { key: 'administration1', label: (Class Schedules), }, { key: 'administration2', label: (Classmate Directory), }, { key: 'administration3', label: (Qualifications), }, ], }, { key: '2', icon: , label: (

  Courses

), children: [ { key: 'courses1', label: (Theory), }, { key: 'courses2', label: (Practical), }, { key: 'courses3', label: (Albums), }, ], }, { key: '3', icon: , label: (

  Examinations

), children: [ { key: 'examinations1', label: (Exam Scheduled), }, { key: 'examinations2', label: (Upcoming Exam), }, { key: 'examinations3', label: (Passed Exam), }, ], }, { key: '4', icon: , label: (

  Community

), children: [ { key: 'community1', label: (Exam Scheduled), }, { key: 'community2', label: (Upcoming Exam), }, { key: 'community3', label: (Passed Exam), }, ], }, { key: '5', icon: , label: (

  Notifications

), children: [ { key: 'notifications1', label: (Exam Scheduled), }, { key: 'notifications2', label: (Upcoming Exam), }, { key: 'notifications3', label: (Passed Exam), }, ], }, // getItem('Files', '9', ), { key: 'grp', label: '', type: 'group', style: { marginTop: '100px' }, children: [ { key: '6', style: {paddingTop: '10px', paddingBottom: '10px', border: 'none'}, icon: React.createElement(SettingOutlined, { style: { color: '#000' } }), label: (

Settings

) }, { key: '7', style: {paddingTop: '10px', paddingBottom: '10px', border: 'none'}, icon: React.createElement(QuestionCircleOutlined, { style: { color: '#000' } }), label: (

Help & Support

) }, { key: '8', style: {paddingTop: '10px', paddingBottom: '10px', border: 'none'}, icon: React.createElement(LogoutOutlined, { style: { color: '#000' } }), label: (

Logout

) }, ], }, ]; const LeftSideMenu: React.FC = () => { return( ) } export default LeftSideMenu;