import React, {useState} from 'react'; import { SettingOutlined, QuestionCircleOutlined, LogoutOutlined, RightOutlined} from '@ant-design/icons'; 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 KnowledgeQuestsPageContent from '~/components/KnowledgeQuestsPageContent'; import {Layout, Menu, theme, Button, Modal, MenuProps} from 'antd'; import { Dropdown, Space } from 'antd'; import '../../public/assets/left_side_nav.css'; const { Content, Sider } = Layout; const items1: MenuProps['items'] = ['1', '2', '3'].map((key) => ({ key, label: `navsd ${key}`, })); type MenuItem = Required['items'][number]; const items2: MenuProps['items'] = [ { key: 'subsd1', icon: , label: (

  Administration

), children: [ { key: '1sd', label: (Class Schedules), }, { key: '2sd', label: (Classmate Directory), }, { key: '3sd', label: (Qualifications), }, ], }, { key: 'subsd2', icon: , label: (

  My Courses

), children: [ { key: '4sd', label: (Graduate Program), }, { key: '5sd', label: (Post-Graduate Program), }, ], }, { key: 'subsd3', icon: , label: (

  Examinations

), children: [ { key: '6sd', label: (Exam Scheduled), }, { key: '7sd', label: (Upcoming Exam), }, { key: '8sd', label: (Passed Exam), }, ], }, { key: 'subsd4', icon: , label: (

  Community

), children: [ { key: '9sd', label: (Exam Scheduled), }, { key: '10sd', label: (Upcoming Exam), }, { key: '11sd', label: (Passed Exam), }, ], }, { key: 'subsd5', icon: , label: (

  Notifications

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

Settings

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

Help & Support

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

Logout

) }, ], }, ]; const items: MenuProps['items'] = [ { label: 1st menu item, key: '01sd', }, { type: 'divider', }, { label: 2nd menu item, key: '02sd', }, { type: 'divider', }, { label: '3rd menu item', key: '03sd', }, ]; const App: React.FC = () => { const [collapsed, setCollapsed] = useState(false); const [open, setOpen] = React.useState(false); const [loading, setLoading] = React.useState(true); const showLoading = () => { setOpen(true); setLoading(true); // Simple loading mock. You should add cleanup logic in real world. setTimeout(() => { setLoading(false); }, 100); }; const { token: { colorBgContainer}, } = theme.useToken(); return (
setCollapsed(value)} width={366} style={{overflow: 'auto', height: '110vh', position: 'fixed', left: 0, top: 0, bottom: 0, background: '#FFF', borderRight: '1px solid #CFCFCF', borderBottom: '2px solid #000'}}>

IIMTT Logo

Student Dashboard

{/* Place Content from here */}
); }; export default App;