change design and responsive & pay & detail account & success pay & faield pay & doctor id

This commit is contained in:
Ehsan
2024-08-30 20:22:41 +03:30
parent 451ae76cb1
commit b058066380
33 changed files with 589 additions and 147 deletions
+7 -2
View File
@@ -1,9 +1,14 @@
import Detail from "./Detail"
import Head from "./Head"
function DetailDoctor({ doctor }) {
function DetailDoctor({ doctor, typePay, isPay }) {
return (
<div className="p-[24px] opacity-page w-[41%] rounded-[8px] border border-solid border-[#EFEFEF] bg-[#FFF]">
<div
className={`p-[24px] opacity-page w-full lg:w-[41%] rounded-[8px] border
border-solid border-[#EFEFEF] bg-[#FFF]
${typePay === 'success' || typePay === 'failed' ? 'hidden md:block' : 'block'}
`}
>
<p className="text-[#3B3B3B] text-[20px] font-bold">جزئیات نوبت</p>
<Head doctor={doctor} />
<Detail doctor={doctor} />