- implement about section

This commit is contained in:
Amruth Pillai
2020-07-14 22:59:59 +05:30
parent af955bbf55
commit b7c565de79
20 changed files with 441 additions and 112 deletions

View File

@ -22,16 +22,18 @@ const ContactC = () => {
return (
<div className="text-xs grid gap-2">
<div>
<h6 className="capitalize font-semibold">Address</h6>
<div className="flex flex-col text-xs">
<span>{data.profile.address.line1}</span>
<span>{data.profile.address.line2}</span>
<span>
{data.profile.address.city} {data.profile.address.pincode}
</span>
{data.profile.address.line1 && (
<div>
<h6 className="capitalize font-semibold">Address</h6>
<div className="flex flex-col text-xs">
<span>{data.profile.address.line1}</span>
<span>{data.profile.address.line2}</span>
<span>
{data.profile.address.city} {data.profile.address.pincode}
</span>
</div>
</div>
</div>
)}
<ContactItem
label="phone"

View File

@ -40,16 +40,18 @@ const ContactD = () => {
<MdFlare size="20px" />
</div>
<div>
<h6 className="capitalize font-semibold">Address</h6>
<div className="flex flex-col text-xs">
<span>{data.profile.address.line1}</span>
<span>{data.profile.address.line2}</span>
<span>
{data.profile.address.city} {data.profile.address.pincode}
</span>
{data.profile.address.line1 && (
<div>
<h6 className="capitalize font-semibold">Address</h6>
<div className="flex flex-col text-xs">
<span>{data.profile.address.line1}</span>
<span>{data.profile.address.line2}</span>
<span>
{data.profile.address.city} {data.profile.address.pincode}
</span>
</div>
</div>
</div>
)}
<ContactItem
label="phone"