diff --git a/app/booking/index.js b/app/booking/index.js
new file mode 100644
index 0000000..a424e40
--- /dev/null
+++ b/app/booking/index.js
@@ -0,0 +1,12 @@
+import BookingPage from '@/components/booking';
+import Layout from '@/components/layout';
+
+function Booking() {
+ return (
+
+
+
+ )
+}
+
+export default Booking
\ No newline at end of file
diff --git a/components/clinic/Tabs.js b/app/component/Tabs.js
similarity index 74%
rename from components/clinic/Tabs.js
rename to app/component/Tabs.js
index 1fa8fed..103281c 100644
--- a/components/clinic/Tabs.js
+++ b/app/component/Tabs.js
@@ -7,9 +7,7 @@ function a11yProps(index) {
};
};
-const listTab = ['درباره کلینیک', 'اطلاعات تماس', 'پزشک ها'];
-
-function Tabs({ value, handleChange }) {
+function Tabs({ value, handleChange, listTab, isSm }) {
return (
))}
diff --git a/app/component/datePicker/ButtonDate.js b/app/component/date/datePicker/ButtonDate.js
similarity index 100%
rename from app/component/datePicker/ButtonDate.js
rename to app/component/date/datePicker/ButtonDate.js
diff --git a/app/component/datePicker/Field.js b/app/component/date/datePicker/Field.js
similarity index 100%
rename from app/component/datePicker/Field.js
rename to app/component/date/datePicker/Field.js
diff --git a/app/component/datePicker/index.js b/app/component/date/datePicker/index.js
similarity index 95%
rename from app/component/datePicker/index.js
rename to app/component/date/datePicker/index.js
index 4961efb..c40d907 100644
--- a/app/component/datePicker/index.js
+++ b/app/component/date/datePicker/index.js
@@ -18,7 +18,7 @@ function DatePicker({ type, date, updateDate, text, from }) {
const id = open ? 'simple-popover' : undefined;
return (
-
+
{/* {from && from === 'register' ? (
TabsTime
+ )
+}
+
+export default TabsTime;
\ No newline at end of file
diff --git a/app/component/date/dateTime/index.js b/app/component/date/dateTime/index.js
new file mode 100644
index 0000000..8fcbbb1
--- /dev/null
+++ b/app/component/date/dateTime/index.js
@@ -0,0 +1,23 @@
+import { useState } from "react";
+import Tabs from "../../Tabs"
+
+const listTab = ['صبح', 'بعد از ظهر'];
+
+function DateTime() {
+
+ const [value, setValue] = useState(0);
+ const handleChange = (event, newValue) => setValue(newValue);
+
+ return (
+
+
+
+ )
+}
+
+export default DateTime
\ No newline at end of file
diff --git a/components/booking/index.js b/components/booking/index.js
new file mode 100644
index 0000000..9516acf
--- /dev/null
+++ b/components/booking/index.js
@@ -0,0 +1,9 @@
+function BookingPage() {
+ return (
+
+
+
+ )
+}
+
+export default BookingPage
\ No newline at end of file
diff --git a/components/clinic/index.js b/components/clinic/index.js
index 111fb38..1e2b77f 100644
--- a/components/clinic/index.js
+++ b/components/clinic/index.js
@@ -1,11 +1,12 @@
'use client';
import { useState } from 'react';
-import Tabs from "./Tabs";
import About from './components/about';
import Contact from './components/contact';
import Doctors from './components/doctors';
+import Tabs from '@/app/component/Tabs';
+const listTab = ['درباره کلینیک', 'اطلاعات تماس', 'پزشک ها'];
function ClinicPage({ data, doctors }) {
@@ -22,6 +23,7 @@ function ClinicPage({ data, doctors }) {
diff --git a/components/doctor/appointmentList/modal/index.js b/components/doctor/appointmentList/modal/index.js
index fed9317..19e6b26 100644
--- a/components/doctor/appointmentList/modal/index.js
+++ b/components/doctor/appointmentList/modal/index.js
@@ -1,6 +1,8 @@
import { Box, Modal } from "@mui/material"
import { styleDefault } from "@/mui"
-import DatePicker from "@/app/component/datePicker"
+import DatePicker from "@/app/component/date/datePicker"
+import CloseModalD from "@/components/icons/CloseModalD"
+import DateTime from "@/app/component/date/dateTime"
function ModalDatePicker({ open, handleClose }) {
return (
@@ -8,8 +10,25 @@ function ModalDatePicker({ open, handleClose }) {
open={open}
onClose={handleClose}
>
-
-
+
+
+
+
دریافت نوبت از دکتر مهران امینی
+
+
+
+
+
+
)