+
-
+
+
+
+
+
+
+
+
-
)
}
diff --git a/components/clinic/components/contact/modal/Content.js b/components/clinic/components/contact/modal/Content.js
new file mode 100644
index 0000000..ec950b6
--- /dev/null
+++ b/components/clinic/components/contact/modal/Content.js
@@ -0,0 +1,40 @@
+import CloseModalD from '@/components/icons/CloseModalD'
+import Image from 'next/image'
+
+const maps = [
+ { src: '/assets/images/snapp.png', name: 'snapp' },
+ { src: '/assets/images/tapsi.png', name: 'tapsi' },
+ { src: '/assets/images/maps.png', name: 'maps' },
+ { src: '/assets/images/balad.png', name: 'balad' },
+ { src: '/assets/images/waze.png', name: 'waze' }
+]
+
+function Content({ handleClose }) {
+ return (
+ <>
+
+
+
+ {maps.map((item, idx) => (
+ -
+
+
{item.name}
+
+ ))}
+
+ >
+ )
+}
+
+export default Content
\ No newline at end of file
diff --git a/components/clinic/components/contact/modal/index.js b/components/clinic/components/contact/modal/index.js
new file mode 100644
index 0000000..4350af0
--- /dev/null
+++ b/components/clinic/components/contact/modal/index.js
@@ -0,0 +1,51 @@
+'use client';
+
+import { Drawer, Modal } from "@mui/material";
+import { styleDefault } from "@/mui";
+import Content from "./Content";
+
+function ModalSearchCity({ open, setOpen, handleClose, children }) {
+
+ const toggleDrawer = (newOpen) => () => {
+ setOpen(newOpen);
+ };
+
+ return (
+ <>
+ {/* Button Modal */}
+ {children}
+ {/* Content Modal */}
+
+
+
+
+
+
+
+
+
+
+ >
+ )
+}
+
+export default ModalSearchCity
\ No newline at end of file
diff --git a/components/clinic/index.js b/components/clinic/index.js
index a07739f..889f241 100644
--- a/components/clinic/index.js
+++ b/components/clinic/index.js
@@ -9,7 +9,7 @@ import Doctors from './components/doctors';
function ClinicPage({ data, doctors }) {
- const [value, setValue] = useState(0);
+ const [value, setValue] = useState(1);
const handleChange = (event, newValue) => setValue(newValue);
const Components = [
diff --git a/components/doctors/search/index.js b/components/doctors/search/index.js
index 671269e..e9b2ace 100644
--- a/components/doctors/search/index.js
+++ b/components/doctors/search/index.js
@@ -51,8 +51,8 @@ function SearchBar({ data, setData }) {
className={`!shadow-none !px-5 !h-full !w-[524px] bg-[#FAFAFA] !text-[14px] md:!text-[16px] !min-w-[50%] !rounded-0 !font-normal !text-[#6C757D]`}
/>
diff --git a/components/doctors/sortlist/index.js b/components/doctors/sortlist/index.js
index 57b3e2a..a22c864 100644
--- a/components/doctors/sortlist/index.js
+++ b/components/doctors/sortlist/index.js
@@ -6,7 +6,7 @@ import SelectSort from "./SelectSort";
function SortList({ data, setData }) {
return (
-
+
diff --git a/components/icons/RoutingWhiteC.js b/components/icons/RoutingWhiteC.js
new file mode 100644
index 0000000..f637f39
--- /dev/null
+++ b/components/icons/RoutingWhiteC.js
@@ -0,0 +1,14 @@
+function RoutingWhiteC() {
+ return (
+
+ )
+}
+
+export default RoutingWhiteC
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 2853330..302b12c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,7 +17,8 @@
"next": "14.2.3",
"react": "^18",
"react-dom": "^18",
- "styled-components": "^6.1.11"
+ "styled-components": "^6.1.11",
+ "swiper": "^11.1.9"
},
"devDependencies": {
"postcss": "^8",
@@ -2434,6 +2435,24 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/swiper": {
+ "version": "11.1.9",
+ "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.1.9.tgz",
+ "integrity": "sha512-rflu8zvfGa3x1v/aeSufk4zRJffhOQowyvtJlp46sUBnOqAuk1Rdv5Ldj0AWWBV595iZ+ZMk7VB35ZRtRUomtA==",
+ "funding": [
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/swiperjs"
+ },
+ {
+ "type": "open_collective",
+ "url": "http://opencollective.com/swiper"
+ }
+ ],
+ "engines": {
+ "node": ">= 4.7.0"
+ }
+ },
"node_modules/tailwindcss": {
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.3.tgz",
diff --git a/package.json b/package.json
index 0a048f8..c178eb8 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,8 @@
"next": "14.2.3",
"react": "^18",
"react-dom": "^18",
- "styled-components": "^6.1.11"
+ "styled-components": "^6.1.11",
+ "swiper": "^11.1.9"
},
"devDependencies": {
"postcss": "^8",
diff --git a/public/assets/images/balad.png b/public/assets/images/balad.png
new file mode 100644
index 0000000..54540d2
Binary files /dev/null and b/public/assets/images/balad.png differ
diff --git a/public/assets/images/maps.png b/public/assets/images/maps.png
new file mode 100644
index 0000000..04b1718
Binary files /dev/null and b/public/assets/images/maps.png differ
diff --git a/public/assets/images/snapp.png b/public/assets/images/snapp.png
new file mode 100644
index 0000000..91b334a
Binary files /dev/null and b/public/assets/images/snapp.png differ
diff --git a/public/assets/images/tapsi.png b/public/assets/images/tapsi.png
new file mode 100644
index 0000000..2e25f78
Binary files /dev/null and b/public/assets/images/tapsi.png differ
diff --git a/public/assets/images/waze.png b/public/assets/images/waze.png
new file mode 100644
index 0000000..443fe32
Binary files /dev/null and b/public/assets/images/waze.png differ