diff --git a/src/components/layouts/dashboard/headerWithSidebar/HeaderMenu/index.jsx b/src/components/layouts/dashboard/headerWithSidebar/HeaderMenu/index.jsx
index c705242..5dcf168 100644
--- a/src/components/layouts/dashboard/headerWithSidebar/HeaderMenu/index.jsx
+++ b/src/components/layouts/dashboard/headerWithSidebar/HeaderMenu/index.jsx
@@ -1,4 +1,53 @@
-const HeaderMenu = () => {
- return <>منو>;
+import { ExpandLess, ExpandMore, Link } from "@mui/icons-material";
+import { Button, Divider, ListItemIcon, ListItemText, Menu, MenuItem } from "@mui/material";
+import NextLink from "next/link";
+import { useState } from "react";
+
+const HeaderMenu = ({ menu }) => {
+ const [anchorEl, setAnchorEl] = useState(null);
+ const open = Boolean(anchorEl);
+
+ const handleClick = (event) => {
+ setAnchorEl(event.currentTarget);
+ };
+ const handleClose = () => {
+ setAnchorEl(null);
+ };
+
+ return (
+ <>
+ : }
+ >
+ {menu.title}
+
+
+ >
+ );
};
export default HeaderMenu;
diff --git a/src/components/layouts/dashboard/headerWithSidebar/index.jsx b/src/components/layouts/dashboard/headerWithSidebar/index.jsx
index 5190d9e..7ff7e4f 100644
--- a/src/components/layouts/dashboard/headerWithSidebar/index.jsx
+++ b/src/components/layouts/dashboard/headerWithSidebar/index.jsx
@@ -6,6 +6,7 @@ import { Box, Drawer, IconButton, Stack, styled, Toolbar, Typography } from "@mu
import MuiAppBar from "@mui/material/AppBar";
import { useState } from "react";
import HeaderMenu from "./HeaderMenu";
+import { headerMenu } from "@/core/utils/headerMenu";
const drawerWidth = 300;
@@ -75,7 +76,7 @@ const HeaderWithSidebar = ({ children }) => {
-
+ {headerMenu.map(menu => )}
diff --git a/src/core/utils/headerMenu.js b/src/core/utils/headerMenu.js
new file mode 100644
index 0000000..4f42f34
--- /dev/null
+++ b/src/core/utils/headerMenu.js
@@ -0,0 +1,80 @@
+export const headerMenu = [
+ {
+ title: 'تصادفات',
+ subMenu: [
+ [
+ {
+ title: 'تصادفات روزانه',
+ href: 'https://rms.witel.ir/v2/daily_accidents/create'
+ }
+ ]
+ ]
+ },
+ {
+ title: 'گزارش های جامع',
+ subMenu: [
+ [
+ {
+ title: 'گزارش محوری',
+ href: 'https://rms.witel.ir/v2/axis_reports'
+ },
+ {
+ title: 'هوش تجاری (BI)',
+ href: 'https://rms.witel.ir/v2/axis_reports'
+ }
+ ]
+ ]
+ },
+ {
+ title: 'زیرساخت و ناوگان',
+ subMenu: [
+ [
+ {
+ title: 'پراکندگی بر روی نقشه راهدارخانه ها',
+ href: 'https://rms.witel.ir/v2/map?type=rahdar'
+ },
+ {
+ title: 'راهدارخانه ها',
+ href: 'https://rms.witel.ir/v2/rahdari_points'
+ }
+ ],
+ [
+ {
+ title: 'ممیزی ماشین آلات راهداری کشور',
+ href: 'https://rms.witel.ir/cmms-audit'
+ }
+ ]
+ ]
+ },
+ {
+ title: 'سامانه های راهداری',
+ subMenu: [
+ [
+ {
+ title: 'تحقیق و توسعه',
+ href: 'https://rms.witel.ir/RandD'
+ },
+ {
+ title: 'سامانه مدیریت یکپارچه زیرساخت های راه (PMS,BMS,SMS)',
+ href: 'http://roadams.rmto.ir'
+ },
+ {
+ title: 'سامانه مدیریت ناوگان (FMS)',
+ href: 'http://fms.141.ir'
+ },
+ {
+ title: 'سامانه جامع مدیریت سوانح و حوادث جاده ای',
+ href: 'https://items.rmto.ir'
+ },
+ {
+ title: 'سامانه مدیریت نگهداری ماشین آلات (CMMS)',
+ href: 'https://cmms.rmto.ir/Login.aspx?ReturnUrl=%2f'
+ },
+ {
+ title: 'درگاه کاتالوگ داده',
+ href: 'https://roadams.rmto.ir:8080'
+ }
+ ]
+ ]
+ }
+]
\ No newline at end of file