update design page doctor item & design page account & success and failed pay

This commit is contained in:
Ehsan
2024-08-28 03:14:42 +03:30
parent 7925493681
commit 6384dd10b6
20 changed files with 1106 additions and 56 deletions
@@ -0,0 +1,26 @@
import Item from "./Item"
function Locations({ doctor }) {
return (
<div>
<p
className="text-[#525252] text-[20px] font-bold"
>موقعیت مکانی </p>
<ul className="flex w-full mt-[24px] flex-col justify-center items-start">
{doctor.locations.map((item, idx) => (
<li className="w-full">
<Item
key={idx}
data={item}
/>
{doctor.locations.length > idx + 1 && (
<span className="w-full h-px bg-[#EFEFEF] block my-[16px]"></span>
)}
</li>
))}
</ul>
</div>
)
}
export default Locations