mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
IMPR: Minor social links improvements
This commit is contained in:
parent
21f9d677c3
commit
f1942f015d
@ -1,57 +1,57 @@
|
||||
<div class="sc-links">
|
||||
<% if $PhoneNumber %>
|
||||
<a href="$PhoneNumber.LinkURL" title="Phone Number" class="pnum">
|
||||
<i class="fab fa-solid fa-phone"></i>
|
||||
<i class="fa-solid fa-phone"></i>
|
||||
<i class="visually-hidden">Email</i>
|
||||
</a>
|
||||
<% end_if %>
|
||||
|
||||
<% if $PublicEmail %>
|
||||
<a href="$PublicEmail.LinkURL" title="Email" class="email">
|
||||
<i class="fab fa-solid fa-envelope"></i>
|
||||
<i class="fa-solid fa-envelope"></i>
|
||||
<i class="visually-hidden">Email</i>
|
||||
</a>
|
||||
<% end_if %>
|
||||
<% if $Facebook %>
|
||||
<a href="$Facebook.LinkURL" title="Facebook" class="fb" rel="noreferrer" target="_blank">
|
||||
<i class="fab fa-solid fa-facebook-f"></i>
|
||||
<i class="fab fa-facebook-f"></i>
|
||||
<i class="visually-hidden">Facebook</i>
|
||||
</a>
|
||||
<% end_if %>
|
||||
<% if $LinkedIn %>
|
||||
<a href="$LinkedIn.LinkURL" title="LinkedIn" class="li" rel="noreferrer" target="_blank">
|
||||
<i class="fab fa-solid fa-linkedin-in"></i>
|
||||
<i class="fab fa-linkedin-in"></i>
|
||||
<i class="visually-hidden">LinkedIn</i>
|
||||
</a>
|
||||
<% end_if %>
|
||||
<% if $Pinterest %>
|
||||
<a href="$Pinterest.LinkURL" title="Pinterest" class="pr" rel="noreferrer" target="_blank">
|
||||
<i class="fab fa-solid fa-pinterest-p"></i>
|
||||
<i class="fab fa-pinterest-p"></i>
|
||||
<i class="visually-hidden">Pinterest</i>
|
||||
</a>
|
||||
<% end_if %>
|
||||
<% if $Instagram %>
|
||||
<a href="$Instagram.LinkURL" title="Instagram" class="in" rel="noreferrer" target="_blank">
|
||||
<i class="fab fa-solid fa-instagram"></i>
|
||||
<i class="fab fa-instagram"></i>
|
||||
<i class="visually-hidden">Instagram</i>
|
||||
</a>
|
||||
<% end_if %>
|
||||
<% if $Twitter %>
|
||||
<a href="$Twitter.LinkURL" title="Twitter" class="tw" rel="noreferrer" target="_blank">
|
||||
<i class="fa-brands fa-solid fa-x-twitter"></i>
|
||||
<i class="fa-brands fa-x-twitter"></i>
|
||||
<i class="visually-hidden">Twitter</i>
|
||||
</a>
|
||||
<% end_if %>
|
||||
<% if $Youtube %>
|
||||
<a href="$Youtube.LinkURL" title="YouTube" class="yt" rel="noreferrer" target="_blank">
|
||||
<i class="fab fa-solid fa-youtube"></i>
|
||||
<i class="fab fa-youtube"></i>
|
||||
<i class="visually-hidden">YouTube</i>
|
||||
</a>
|
||||
<% end_if %>
|
||||
|
||||
<% if $Tiktok %>
|
||||
<a href="$Tiktok.LinkURL" target="_blank">
|
||||
<i class="fab fa-solid fa-tiktok"></i>
|
||||
<i class="fab fa-tiktok"></i>
|
||||
<i class="sr-only">Tiktok</i>
|
||||
</a>
|
||||
<% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user