update src/components/ContactUsInfoCard/index.js

master
mahdi 3 years ago
parent 2b3fc48ea8
commit c5bd06aee2
  1. 20
      src/components/ContactUsInfoCard/index.js

@ -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>

Loading…
Cancel
Save