Skip to content

Commit

Permalink
VA-15465: add Youtube to facility social links
Browse files Browse the repository at this point in the history
  • Loading branch information
maxx1128 committed Nov 1, 2023
1 parent 4a80a07 commit 12dc1f1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
9 changes: 9 additions & 0 deletions src/site/facilities/facility_social_links.drupal.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@
</a>
</div>
{% endif %}

{% if fieldYoutube != empty %}
<div class="social-links social-links-youtube vads-u-margin-bottom--2">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldYoutube.uri }}">
<i class="fab fa-youtube vads-u-text-decoration--none vads-u-margin-right--1"></i>
<span class="vads-u-text-decoration--underline">{{ fieldYoutube.title }}</span>
</a>
</div>
{% endif %}
</div>
</div>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,21 @@ module.exports = `
fieldFacebook {
title
uri
}
}
fieldTwitter {
title
title
uri
}
fieldFlickr {
title
title
uri
}
fieldInstagram {
title
title
uri
}
fieldYoutube {
title
uri
}
`;

0 comments on commit 12dc1f1

Please sign in to comment.