diff --git a/Client/src/Components/DashboardMenu/index.css b/Client/src/Components/DashboardMenu/index.css index 37c84655b..3c58afdb7 100644 --- a/Client/src/Components/DashboardMenu/index.css +++ b/Client/src/Components/DashboardMenu/index.css @@ -1,15 +1,20 @@ +.dashboard-menu-container { + display: flex; + flex-direction: column; + padding: 20px; +} + .icon-container { - display: flex; - align-items: center; - margin-bottom: 12px; - } - - .text-container { - display: flex; - align-items: center; - } - - .dashboard-menu-text { - margin-left: 8px; - } - \ No newline at end of file + display: flex; + align-items: center; + margin-bottom: 12px; +} + +.text-container { + display: flex; + align-items: center; +} + +.dashboard-menu-text { + margin-left: 8px; +} diff --git a/Client/src/Components/DashboardSidebar/index.css b/Client/src/Components/DashboardSidebar/index.css new file mode 100644 index 000000000..43af36fbd --- /dev/null +++ b/Client/src/Components/DashboardSidebar/index.css @@ -0,0 +1,31 @@ +.dashboard-sidebar { + height: 100vh; + width: 250px; + background-color: #f4f4f4; + box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); + position: fixed; + top: 0; + left: 0; + display: flex; + flex-direction: column; + 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; + } + \ No newline at end of file diff --git a/Client/src/Components/DashboardSidebar/index.jsx b/Client/src/Components/DashboardSidebar/index.jsx new file mode 100644 index 000000000..846452dbc --- /dev/null +++ b/Client/src/Components/DashboardSidebar/index.jsx @@ -0,0 +1,27 @@ +import DashboardMenu from '../../Components/DashboardMenu'; +import SupportIcon from '@mui/icons-material/Support'; +import SvgIcon from '@mui/material/SvgIcon'; +import './index.css'; + +/** + * @component + * 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. + */ + +function DashboardSidebar() { + return ( +