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

33 lines
1.0 KiB
Scheme
Raw Normal View History

<div class="sc-links">
<% if $Facebook %>
<a href="$Facebook.URL" title="Facebook" target="_blank">
<i class="fab fa-facebook"></i>
2019-12-17 21:43:28 +01:00
<i class="sr-only">Facebook</i>
</a>
<% end_if %>
<% if $LinkedIn %>
<a href="$LinkedIn.URL" title="LinkedIn" target="_blank">
<i class="fab fa-linkedin"></i>
2019-12-17 21:43:28 +01:00
<i class="sr-only">LinkedIn</i>
</a>
<% end_if %>
<% if $GooglePlus %>
<a href="$GooglePlus.URL" title="Google+" target="_blank">
2018-07-02 04:34:36 +02:00
<i class="fab fa-google-plus-g"></i>
2019-12-17 21:43:28 +01:00
<i class="sr-only">Google+</i>
</a>
<% end_if %>
<% if $Instagram %>
<a href="$Instagram.URL" 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.URL" 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>