diff --git a/app/component/DetailProfile.js b/app/component/DetailProfile.js
new file mode 100644
index 0000000..48933fd
--- /dev/null
+++ b/app/component/DetailProfile.js
@@ -0,0 +1,80 @@
+import { useState } from "react";
+import ProfilePA from "@/components/icons/ProfilePA";
+import LogoutP from "@/components/icons/LogoutP";
+import SettingPA from "@/components/icons/SettingPA";
+import CardDA from "@/components/icons/CardDA";
+import { Button, Popover } from "@mui/material";
+import Link from "next/link";
+import ModalLogout from "./ModalLogout";
+
+function DetailProfile({ anchorEl, setAnchorEl }) {
+ const [modal, setModal] = useState(false);
+ const handleClose = () => setAnchorEl(null);
+ const closeModal = () => setModal(false);
+ const openModal = () => setModal(true);
+
+ const open = Boolean(anchorEl);
+ const id = open ? "simple-popover" : undefined;
+ return (
+ <>
+
آدرس:
- {data.location} + {data?.location}
تلفن:
- {data.phone} + {data?.phone}
- {data.phone} - {data.phone} + {data?.phone} - {data?.phone}
); diff --git a/components/doctor/poster/index.js b/components/doctor/poster/index.js index 0381138..194a651 100644 --- a/components/doctor/poster/index.js +++ b/components/doctor/poster/index.js @@ -15,10 +15,10 @@ function Poster({ data }) {nobat724.com
- {data.name} + {data?.name}
- تخصص: {data.expertise} + تخصص: {data?.expertise}