Added the support icon at the bottom of the sidebar.
This commit is contained in:
1 parent
f2a03c148b
commit
fc65ce17ae
2 files changed
+29
-3
No files matched your search
@@ -8,6 +8,24 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding-top: 60px;
|
justify-content: space-between;
|
||||||
|
padding: 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-container {
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.support-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 10px 20px;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.support-text {
|
||||||
|
margin-left: 8px;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
import DashboardMenu from '../../Components/DashboardMenu';
|
import DashboardMenu from '../../Components/DashboardMenu';
|
||||||
|
import SupportIcon from '@mui/icons-material/Support';
|
||||||
|
import SvgIcon from '@mui/material/SvgIcon';
|
||||||
import './index.css';
|
import './index.css';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @component
|
* @component
|
||||||
* DashboardSidebar component serves as a sidebar containing the DashboardMenu.
|
* DashboardSidebar component serves as a sidebar containing the DashboardMenu and a Support icon at the bottom.
|
||||||
*
|
*
|
||||||
* @returns {JSX.Element} The JSX element representing the DashboardSidebar component.
|
* @returns {JSX.Element} The JSX element representing the DashboardSidebar component.
|
||||||
*/
|
*/
|
||||||
@@ -11,7 +13,13 @@ import './index.css';
|
|||||||
function DashboardSidebar() {
|
function DashboardSidebar() {
|
||||||
return (
|
return (
|
||||||
<div className="dashboard-sidebar">
|
<div className="dashboard-sidebar">
|
||||||
<DashboardMenu />
|
<div className="menu-container">
|
||||||
|
<DashboardMenu />
|
||||||
|
</div>
|
||||||
|
<div className="support-container">
|
||||||
|
<SvgIcon component={SupportIcon} />
|
||||||
|
<span className="support-text">Support</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user