diff --git a/components/account/information/detail/index.js b/components/account/information/detail/index.js
index e02f9f6..c376bf4 100644
--- a/components/account/information/detail/index.js
+++ b/components/account/information/detail/index.js
@@ -3,6 +3,7 @@ import Form from "./Form";
import { Button } from "@mui/material";
import AddCircleBlueA from "@/components/icons/AddCircleBlueA";
import ArrowLeftB from "@/components/icons/ArrowLeftB";
+import ButtonFixed from "../ButtonFixed";
function Detail({ isForAnother, setIsForAnother, fadeElement, setIsPay }) {
@@ -40,7 +41,7 @@ function Detail({ isForAnother, setIsForAnother, fadeElement, setIsPay }) {
/>
{!isForAnother && (
)}
-
+
+
+
>
)
}
diff --git a/components/account/information/index.js b/components/account/information/index.js
index bdaf526..701e1c4 100644
--- a/components/account/information/index.js
+++ b/components/account/information/index.js
@@ -1,14 +1,10 @@
-'use client';
-
import { useState } from "react";
-import Detail from "./detail";
import Payment from "./payment";
+import Detail from "./detail";
-function Information() {
+function Information({ typePay, setTypePay, setIsPay, isPay }) {
- const [isForAnother, setIsForAnother] = useState(false)
- const [typePay, setTypePay] = useState('success');
- const [isPay, setIsPay] = useState(true);
+ const [isForAnother, setIsForAnother] = useState(false);
const [fade, setFade] = useState(false);
const fadeElement = (func) => {
@@ -24,8 +20,9 @@ function Information() {
return (
{isPay ?
diff --git a/components/account/information/payment/FailedPay.js b/components/account/information/payment/FailedPay.js
index 158f2f4..7cbe490 100644
--- a/components/account/information/payment/FailedPay.js
+++ b/components/account/information/payment/FailedPay.js
@@ -8,9 +8,9 @@ function FailedPay({ setTypePay, setIsPay, fadeElement }) {
-
پرداخت شما انجام نشد.
+
پرداخت شما انجام نشد.
-
+
+
)
}
diff --git a/components/booking/date/Time/index.js b/components/booking/date/Time/index.js
index c0ec69f..88d423a 100644
--- a/components/booking/date/Time/index.js
+++ b/components/booking/date/Time/index.js
@@ -3,7 +3,7 @@ import SelectDatePicker from "./SelectDatePicker"
function Time() {
return (
-
2. انتخاب روز
+
2. انتخاب روز
)
diff --git a/components/booking/date/hour/index.js b/components/booking/date/hour/index.js
index 98dfb9e..dd61901 100644
--- a/components/booking/date/hour/index.js
+++ b/components/booking/date/hour/index.js
@@ -3,7 +3,7 @@ import DateTime from "@/app/component/date/dateTime"
function Hour({ doctor }) {
return (
-
3. انتخاب ساعت
+
3. انتخاب ساعت
diff --git a/components/booking/date/index.js b/components/booking/date/index.js
index e712fb5..02b7555 100644
--- a/components/booking/date/index.js
+++ b/components/booking/date/index.js
@@ -4,7 +4,7 @@ import Time from "./Time"
function Date({ doctor }) {
return (
-
+
diff --git a/components/booking/detail/Address.js b/components/booking/detail/Address.js
index 9a794a0..dc63e0e 100644
--- a/components/booking/detail/Address.js
+++ b/components/booking/detail/Address.js
@@ -2,13 +2,13 @@ import React from 'react'
function Address({ doctor }) {
return (
-
+
{doctor.address.map((item, idx) => (
-
-
-
{`${item.name}: `}
+
+
{`${item.name}: `}
{item.location}
{doctor.address.length > idx + 1 && (
diff --git a/components/booking/detail/Head.js b/components/booking/detail/Head.js
index aaba32e..acc6d4e 100644
--- a/components/booking/detail/Head.js
+++ b/components/booking/detail/Head.js
@@ -5,14 +5,18 @@ function Head({ doctor }) {
return (
-
-
{doctor.name}
-
تخصص: {doctor.expertise}
+
+
{doctor.name}
+
تخصص: {doctor.expertise}
)
diff --git a/components/booking/detail/index.js b/components/booking/detail/index.js
index d0f6b10..7f302c3 100644
--- a/components/booking/detail/index.js
+++ b/components/booking/detail/index.js
@@ -3,12 +3,13 @@ import Head from "./Head";
function Detail({ doctor }) {
return (
-
diff --git a/components/booking/index.js b/components/booking/index.js
index 01e3122..e55d9b0 100644
--- a/components/booking/index.js
+++ b/components/booking/index.js
@@ -4,7 +4,7 @@ import Detail from "./detail";
function BookingPage({ doctor }) {
return (
diff --git a/components/doctor/detailDoctor/cards/comments/chart/ProgressAll.js b/components/doctor/detailDoctor/cards/comments/chart/ProgressAll.js
index 13b2ef2..59e153f 100644
--- a/components/doctor/detailDoctor/cards/comments/chart/ProgressAll.js
+++ b/components/doctor/detailDoctor/cards/comments/chart/ProgressAll.js
@@ -3,7 +3,7 @@ import { CircularProgress } from "@mui/material"
function ProgressAll({ doctor }) {
return (
-
+
{doctor.satisfaction}% رضایت کاربران
-
+
{doctor.progress_detail.map((item, idx) => (
setOpen(true);
const handleClose = () => setOpen(false);
@@ -18,7 +20,8 @@ function ModalAnswer({ doctor }) {
ثبت نظر
-
+
امتیاز شما به دکتر مهران امینی
@@ -43,7 +49,7 @@ function ModalAnswer({ doctor }) {
/>
{doctor.progress_detail.map((item, idx) => (
-
@@ -56,6 +62,20 @@ function ModalAnswer({ doctor }) {
multiline={true}
title='نظر خود را بنویسید...'
/>
+
+
+ دریافت نوبت
+
+
+
diff --git a/components/icons/ArrowLeftWD.js b/components/icons/ArrowLeftWD.js
new file mode 100644
index 0000000..3dd8809
--- /dev/null
+++ b/components/icons/ArrowLeftWD.js
@@ -0,0 +1,10 @@
+function ArrowLeftWD() {
+ return (
+
+ )
+}
+
+export default ArrowLeftWD
\ No newline at end of file
diff --git a/components/icons/TickCircleOrange.js b/components/icons/TickCircleOrange.js
index a0da291..e88a0b4 100644
--- a/components/icons/TickCircleOrange.js
+++ b/components/icons/TickCircleOrange.js
@@ -1,6 +1,6 @@
function TickCircleOrange() {
return (
-