|
|
|
@ -13,14 +13,20 @@ const ContactUsInfoCard = ({ items }) => { |
|
|
|
|
<img src={map} alt="map" /> |
|
|
|
|
<img src={logoRectangle} alt="map" /> |
|
|
|
|
</div> |
|
|
|
|
{/* contact info */} |
|
|
|
|
{/* contact info */} |
|
|
|
|
{items.map((item, index) => ( |
|
|
|
|
<div className="flex flex-row items-center mt-4"> |
|
|
|
|
<img className="w-5" src={item.icon} alt={item.icon} /> |
|
|
|
|
<p className=" text-[#2383E1] mr-2 ml-1 text-xs">{item.title}</p> |
|
|
|
|
<address className="text-[#0F0543] text-xs not-italic text-justify leading-6"> |
|
|
|
|
{item.content} |
|
|
|
|
</address> |
|
|
|
|
<div className="flex flex-row items-center mt-2" key={index}> |
|
|
|
|
{item.icon && <img className="w-5" src={item.icon} alt={item.icon} />} |
|
|
|
|
<p |
|
|
|
|
className={`text-[#2383E1] text-sm ${ |
|
|
|
|
item.icon === null ? "mr-8" : "mr-2" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
{item.title} |
|
|
|
|
<span className="text-[#0F0543] mr-1 text-sm not-italic text-justify leading-6"> |
|
|
|
|
{item.content} |
|
|
|
|
</span> |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
))} |
|
|
|
|
</div> |
|
|
|
|