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 <ContactItem
label={t('shared.forms.phone')} label={t('shared.forms.phone')}
value={data.profile.phone} value={data.profile.phone}
icon="phone"
link={`tel:${data.profile.phone}`} link={`tel:${data.profile.phone}`}
/> />
<ContactItem <ContactItem
label={t('shared.forms.website')} label={t('shared.forms.website')}
value={data.profile.website} value={data.profile.website}
icon="website"
link={data.profile.website} link={data.profile.website}
/> />
<ContactItem <ContactItem
label={t('shared.forms.email')} label={t('shared.forms.email')}
value={data.profile.email} value={data.profile.email}
icon="email"
link={`mailto:${data.profile.email}`} link={`mailto:${data.profile.email}`}
/> />

View File

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