|
|
|
@ -7,8 +7,25 @@ const RoomCardInfo = ({ items }) => { |
|
|
|
|
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"> |
|
|
|
|
{items.map((item, index) => ( |
|
|
|
|
<div key={index}> |
|
|
|
|
<p>{item.name}</p> |
|
|
|
|
<div key={index} className="space-y-1"> |
|
|
|
|
<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> |
|
|
|
|
))} |
|
|
|
|
<img src={qrCode} alt="qr-code" /> |
|
|
|
|