|
|
@ -7,8 +7,25 @@ const RoomCardInfo = ({ items }) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="max-w-[555px] flex flex-row items-center justify-between rounded-md border bg-white border-gray-200 p-4 mx-auto mt-10"> |
|
|
|
<div className="max-w-[555px] flex flex-row items-center justify-between rounded-md border bg-white border-gray-200 p-4 mx-auto mt-10"> |
|
|
|
{items.map((item, index) => ( |
|
|
|
{items.map((item, index) => ( |
|
|
|
<div key={index}> |
|
|
|
<div key={index} className="space-y-1"> |
|
|
|
<p>{item.name}</p> |
|
|
|
<p |
|
|
|
|
|
|
|
className="text-base text-[#0F0543]" |
|
|
|
|
|
|
|
style={{ fontFamily: "iransansBold" }} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
{item.name} |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
<p className="text-xs text-[#0F0543]"> |
|
|
|
|
|
|
|
تاریخ ورود: |
|
|
|
|
|
|
|
<span className="mr-1">{item.enterData}</span> |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
<p className="text-xs text-[#0F0543]"> |
|
|
|
|
|
|
|
تاریخ انقضا اقامت: |
|
|
|
|
|
|
|
<span className="mr-1">{item.expireData}</span> |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
<p className="text-xs text-[#0F0543]"> |
|
|
|
|
|
|
|
شماره محل اقامت: |
|
|
|
|
|
|
|
<span className="mr-1">{item.roomNumber}</span> |
|
|
|
|
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
))} |
|
|
|
))} |
|
|
|
<img src={qrCode} alt="qr-code" /> |
|
|
|
<img src={qrCode} alt="qr-code" /> |
|
|
|