silverstripe-webpack/app/templates/Objects/SocialLinks.ss

33 lines
1.1 KiB
Scheme
Raw Normal View History

<div class="sc-links">
<% if $Facebook %>
<a href="$Facebook.LinkURL" title="Facebook" target="_blank">
2020-02-07 20:51:42 +01:00
<i class="fab fa-facebook-f"></i>
2019-12-17 21:43:28 +01:00
<i class="sr-only">Facebook</i>
</a>
<% end_if %>
<% if $LinkedIn %>
<a href="$LinkedIn.LinkURL" title="LinkedIn" target="_blank">
2020-02-07 20:51:42 +01:00
<i class="fab fa-linkedin-in"></i>
2019-12-17 21:43:28 +01:00
<i class="sr-only">LinkedIn</i>
</a>
<% end_if %>
2020-02-07 20:51:42 +01:00
<% if $Pinterest %>
<a href="$Pinterest.LinkURL" title="Pinterest" target="_blank">
<i class="fab fa-pinterest-p"></i>
<i class="sr-only">Pinterest</i>
</a>
<% end_if %>
<% if $Instagram %>
<a href="$Instagram.LinkURL" title="Instagram" target="_blank">
<i class="fab fa-instagram"></i>
2019-12-17 21:43:28 +01:00
<i class="sr-only">Instagram</i>
</a>
<% end_if %>
<% if $Twitter %>
<a href="$Twitter.LinkURL" title="Twitter" target="_blank">
<i class="fab fa-twitter"></i>
2019-12-17 21:43:28 +01:00
<i class="sr-only">Twitter</i>
</a>
<% end_if %>
2018-07-02 04:34:36 +02:00
</div>