2024-06-06 12:27:36 +03:30
|
|
|
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";
|
2024-05-13 16:12:20 -07:00
|
|
|
|
|
|
|
|
/**
|
2024-05-14 10:00:52 -07:00
|
|
|
* @component
|
2024-05-13 16:12:20 -07:00
|
|
|
* DashboardMenu component displays a menu with icons and corresponding text.
|
|
|
|
|
* Each menu item consists of an icon and a text label.
|
2024-06-06 12:27:36 +03:30
|
|
|
*
|
2024-05-13 16:12:20 -07:00
|
|
|
* @returns {JSX.Element} The JSX element representing the DashboardMenu component.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
function DashboardMenu() {
|
|
|
|
|
return (
|
2024-06-06 12:27:36 +03:30
|
|
|
<div className="dashboard-menu-container">
|
|
|
|
|
{DashboardMenuButton(Monitors, "Monitors")}
|
|
|
|
|
{DashboardMenuButton(Incidents, "Incidents")}
|
|
|
|
|
{DashboardMenuButton(SensorsIcon, "Status Pages")}
|
|
|
|
|
{DashboardMenuButton(AllInclusiveIcon, "Integrations")}
|
|
|
|
|
{DashboardMenuButton(SettingsIcon, "Settings")}
|
2024-05-13 16:12:20 -07:00
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default DashboardMenu;
|