64 lines
3.3 KiB
JavaScript
64 lines
3.3 KiB
JavaScript
import ArrowLeftOrangeA from "@/components/icons/ArrowLeftOrangeA"
|
||
import CalendarA from "@/components/icons/CalendarA"
|
||
import ClockA from "@/components/icons/ClockA"
|
||
import LocationA from "@/components/icons/LocationA"
|
||
import TickCircleOrange from "@/components/icons/TickCircleOrange"
|
||
import { Button } from "@mui/material"
|
||
|
||
function Detail({ doctor }) {
|
||
return (
|
||
<div className="mt-[8px]">
|
||
<ul className="flex flex-col items-start justify-start gap-[24px]">
|
||
<li className="flex items-center justify-start gap-[4px]">
|
||
<LocationA />
|
||
<p className="text-[#616161] text-[16px] font-normal">آدرس: {doctor.location}</p>
|
||
</li>
|
||
<li className="flex items-center justify-between w-full">
|
||
<div className="flex items-center justify-start gap-[4px]">
|
||
<CalendarA />
|
||
<div className="flex items-center justify-start">
|
||
<p className="text-[#616161] text-[16px] font-medium">تاریخ نوبت: </p>
|
||
<p className="text-[#2F2F2F] text-[16px] font-medium mr-1">13 خرداد 1403</p>
|
||
</div>
|
||
</div>
|
||
<Button
|
||
className="!p-1 !flex !items-center !justify-end !gap-[2px]"
|
||
variant="text"
|
||
>
|
||
<p className="!text-[#F17732] !text-[14px] !font-normal">تغییر </p>
|
||
<ArrowLeftOrangeA />
|
||
</Button>
|
||
</li>
|
||
<li className="flex items-center justify-between w-full">
|
||
<div className="flex items-center justify-start gap-[4px]">
|
||
<ClockA />
|
||
<div className="flex items-center justify-start">
|
||
<p className="text-[#616161] text-[16px] font-medium">زمان نوبت: </p>
|
||
<p className="text-[#2F2F2F] text-[16px] font-medium mr-1">ساعت 17:20</p>
|
||
</div>
|
||
</div>
|
||
<Button
|
||
className="!p-1 !flex !items-center !justify-end !gap-[2px]"
|
||
variant="text"
|
||
>
|
||
<p className="!text-[#F17732] !text-[14px] !font-normal">تغییر </p>
|
||
<ArrowLeftOrangeA />
|
||
</Button>
|
||
</li>
|
||
</ul>
|
||
<span className="mt-[28px] mb-[24px] w-full h-px bg-[#D7D7D7] block"></span>
|
||
<ul className="flex flex-col items-start justify-start gap-[24px]">
|
||
<li className="flex items-center justify-start gap-[8px]">
|
||
<TickCircleOrange />
|
||
<p className="text-[#616161] text-[16px] font-normal">فقط در صورت لغو نوبت تا 5 ساعت قبل از زمان ویزیت، امکان استرداد وجه ممکن می باشد.</p>
|
||
</li>
|
||
<li className="flex items-center justify-start gap-[8px]">
|
||
<TickCircleOrange />
|
||
<p className="text-[#616161] text-[16px] font-normal">لطفا به موقع در مطب حضور داشته باشید.</p>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
)
|
||
}
|
||
|
||
export default Detail |