Skip to content

Commit

Permalink
Merge pull request #234 from helenx15/issue-218
Browse files Browse the repository at this point in the history
Adding social media links to business details
  • Loading branch information
readingdancer authored Jun 4, 2020
2 parents 6fdd543 + fafa091 commit c717484
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions covid-19-support/src/components/BusinessDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,27 @@
:link="business.marker.gsx$weblink.$t"
/>

<icon-list-item
v-if="business.marker.gsx$twitter !== undefined && !!business.marker.gsx$twitter.$t"
icon="fa fa-twitter"
:title="'@' + business.marker.gsx$twitter.$t"
:link="'https://www.twitter.com/' + business.marker.gsx$twitter.$t"
/>

<icon-list-item
v-if="business.marker.gsx$instagram !== undefined && !!business.marker.gsx$instagram.$t"
icon="fa fa-instagram"
:title="'@' + business.marker.gsx$instagram.$t"
:link="'https://www.instagram.com/' + business.marker.gsx$instagram.$t"
/>

<icon-list-item
v-if="business.marker.gsx$facebook !== undefined && !!business.marker.gsx$facebook.$t"
icon="fa fa-facebook-square"
:title="'Facebook'"
:link="business.marker.gsx$facebook.$t"
/>

<icon-list-item
v-if="business.marker.gsx$email !== undefined && !!business.marker.gsx$email.$t"
icon="fas fa-envelope"
Expand Down

0 comments on commit c717484

Please sign in to comment.