silverstripe-webpack/app/templates/Objects/SocialLinks.ss
2018-07-02 09:34:36 +07:00

33 lines
1.0 KiB
Scheme

<div class="sc-links">
<% if $Facebook %>
<a href="$Facebook.URL" title="Facebook" target="_blank">
<i class="fab fa-facebook"></i>
<i class="d-none">Facebook</i>
</a>
<% end_if %>
<% if $LinkedIn %>
<a href="$LinkedIn.URL" title="LinkedIn" target="_blank">
<i class="fab fa-linkedin"></i>
<i class="d-none">LinkedIn</i>
</a>
<% end_if %>
<% if $GooglePlus %>
<a href="$GooglePlus.URL" title="Google+" target="_blank">
<i class="fab fa-google-plus-g"></i>
<i class="d-none">Google+</i>
</a>
<% end_if %>
<% if $Instagram %>
<a href="$Instagram.URL" title="Instagram" target="_blank">
<i class="fab fa-instagram"></i>
<i class="d-none">Instagram</i>
</a>
<% end_if %>
<% if $Twitter %>
<a href="$Twitter.URL" title="Twitter" target="_blank">
<i class="fab fa-twitter"></i>
<i class="d-none">Twitter</i>
</a>
<% end_if %>
</div>