Add title for menu

This commit is contained in:
Viet Anh Nguyen 2024-02-06 13:45:12 +07:00
parent d54a0f1a3c
commit 590a93a2ba

View File

@ -45,29 +45,22 @@ function LeftMenu() {
style={{ style={{
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
justifyContent: 'space-between',
height: '100%', height: '100%',
}} }}
> >
<div style={{
padding: '16px 8px 8px 8px',
fontWeight: 600,
color: '#555',
}}>
Menu
</div>
<Menu <Menu
mode='vertical' mode='vertical'
selectedKeys={[location.pathname]} selectedKeys={[location.pathname]}
style={{ borderRight: 'none' }} style={{ borderRight: 'none' }}
items={generalSubItems} items={generalSubItems}
/> />
{/* <div
style={{
display: 'flex',
alignItems: 'center',
marginLeft: '20px',
marginBottom: '20px',
gap: '10px',
cursor: 'pointer',
}}
>
<QuestionCircleOutlined />
<span>Help</span>
</div> */}
</div> </div>
); );
} }