recreations and fixes
This commit is contained in:
1 parent
b8bed726b6
commit
b404c9ed74
19 files changed
+391
-733
No files matched your search
@@ -1,56 +1,28 @@
|
||||
import LanguageIcon from "@mui/icons-material/Language";
|
||||
import ReportGmailerrorredIcon from "@mui/icons-material/ReportGmailerrorred";
|
||||
import SensorsIcon from "@mui/icons-material/Sensors";
|
||||
import SettingsIcon from "@mui/icons-material/Settings";
|
||||
import AllInclusiveIcon from "@mui/icons-material/AllInclusive";
|
||||
import SvgIcon from '@mui/material/SvgIcon';
|
||||
import './index.css';
|
||||
import "./index.css";
|
||||
import DashboardMenuButton from "../DashboardMenuButton";
|
||||
|
||||
import Monitors from "../../assets/Images/Icon-monitor-gray.png";
|
||||
import Incidents from "../../assets/Images/Icon-warning-gray.png";
|
||||
import SensorsIcon from "../../assets/Images/Icon-signal-gray.png";
|
||||
import AllInclusiveIcon from "../../assets/Images/Icon-link-gray.png";
|
||||
import SettingsIcon from "../../assets/Images/Icon-setting-gray.png";
|
||||
|
||||
/**
|
||||
* @component
|
||||
* DashboardMenu component displays a menu with icons and corresponding text.
|
||||
* Each menu item consists of an icon and a text label.
|
||||
*
|
||||
*
|
||||
* @returns {JSX.Element} The JSX element representing the DashboardMenu component.
|
||||
*/
|
||||
|
||||
function DashboardMenu() {
|
||||
return (
|
||||
<div className="dashboard-menu-container">
|
||||
<div className="icon-container">
|
||||
<SvgIcon component={LanguageIcon} />
|
||||
<div className="text-container">
|
||||
<span className="dashboard-menu-text">Monitors</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="icon-container">
|
||||
<SvgIcon component={ReportGmailerrorredIcon} />
|
||||
<div className="text-container">
|
||||
<span className="dashboard-menu-text">Incidents</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="icon-container">
|
||||
<SvgIcon component={SensorsIcon} />
|
||||
<div className="text-container">
|
||||
<span className="dashboard-menu-text">Status Pages</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="icon-container">
|
||||
<SvgIcon component={AllInclusiveIcon} />
|
||||
<div className="text-container">
|
||||
<span className="dashboard-menu-text">Integrations</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="icon-container">
|
||||
<SvgIcon component={SettingsIcon} />
|
||||
<div className="text-container">
|
||||
<span className="dashboard-menu-text">Settings</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="dashboard-menu-container">
|
||||
{DashboardMenuButton(Monitors, "Monitors")}
|
||||
{DashboardMenuButton(Incidents, "Incidents")}
|
||||
{DashboardMenuButton(SensorsIcon, "Status Pages")}
|
||||
{DashboardMenuButton(AllInclusiveIcon, "Integrations")}
|
||||
{DashboardMenuButton(SettingsIcon, "Settings")}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user