+
+
اولین نوبت آزاد: {turn.first_free_turn}
@@ -32,7 +34,9 @@ function ItemAppointment({ turn }) {
className='!py-2 !px-6 gap-1'
>
دریافت نوبت
-
+
diff --git a/components/doctor/appointmentList/index.js b/components/doctor/appointmentList/index.js
index 6ce841c..64b08d4 100644
--- a/components/doctor/appointmentList/index.js
+++ b/components/doctor/appointmentList/index.js
@@ -1,16 +1,36 @@
import turns from '@/data/turns.json';
import ItemAppointment from './ItemAppointment';
+import { Button } from '@mui/material';
+import ArrowLeftD from '@/components/icons/ArrowLeftD';
+
+function AppointmentList({ doctor }) {
+
+ const itemActive = turns[0];
-function AppointmentList() {
return (
-
- {turns.map(item => (
-
- ))}
-
+ <>
+
+ {turns.map(item => (
+
+ ))}
+
+
+
اولین نوبت آزاد: {itemActive.first_free_turn}
+
+
+ >
)
}
diff --git a/components/doctor/detailDoctor/Link.js b/components/doctor/detailDoctor/Link.js
index b358af8..d8776d3 100644
--- a/components/doctor/detailDoctor/Link.js
+++ b/components/doctor/detailDoctor/Link.js
@@ -17,21 +17,23 @@ function Link() {
{listLink.map((item, idx) => (
+ {listLink.length > idx + 1 && (
+
+ )}
))}
diff --git a/components/doctor/detailDoctor/cards/AboutDcotor.js b/components/doctor/detailDoctor/cards/AboutDcotor.js
index 2d530a9..3cc8382 100644
--- a/components/doctor/detailDoctor/cards/AboutDcotor.js
+++ b/components/doctor/detailDoctor/cards/AboutDcotor.js
@@ -8,7 +8,7 @@ function AboutDcotor({ doctor }) {
{doctor.detail}
تخصص ها
-
+
{doctor.specialties.map((item, idx) => (
-
diff --git a/components/doctor/detailDoctor/index.js b/components/doctor/detailDoctor/index.js
index fdccca0..c71e8e9 100644
--- a/components/doctor/detailDoctor/index.js
+++ b/components/doctor/detailDoctor/index.js
@@ -7,7 +7,7 @@ import LocationDoctor from "./cards/LocationDoctor"
function DetailDoctor({ doctor }) {
return (
-
+
diff --git a/components/icons/SearchD.js b/components/icons/SearchD.js
index 70869bb..6b36000 100644
--- a/components/icons/SearchD.js
+++ b/components/icons/SearchD.js
@@ -1,6 +1,6 @@
function SearchD() {
return (
-