Merge pull request #339 from kbravh/develop

Set contact icons for phone, website, and email
This commit is contained in:
Amruth Pillai
2020-10-03 08:13:21 +05:30
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@ -37,16 +37,19 @@ const ContactA = () => {
<ContactItem
label={t('shared.forms.phone')}
value={data.profile.phone}
icon="phone"
link={`tel:${data.profile.phone}`}
/>
<ContactItem
label={t('shared.forms.website')}
value={data.profile.website}
icon="website"
link={data.profile.website}
/>
<ContactItem
label={t('shared.forms.email')}
value={data.profile.email}
icon="email"
link={`mailto:${data.profile.email}`}
/>

View File

@ -37,16 +37,19 @@ const ContactB = () => {
<ContactItem
label={t('shared.forms.phone')}
value={data.profile.phone}
icon="phone"
link={`tel:${data.profile.phone}`}
/>
<ContactItem
label={t('shared.forms.website')}
value={data.profile.website}
icon="website"
link={data.profile.website}
/>
<ContactItem
label={t('shared.forms.email')}
value={data.profile.email}
icon="email"
link={`mailto:${data.profile.email}`}
/>