IMPR: Minor social links improvements

This commit is contained in:
Tony Air 2023-11-09 19:22:34 +02:00
parent 21f9d677c3
commit f1942f015d

View File

@ -1,57 +1,57 @@
<div class="sc-links"> <div class="sc-links">
<% if $PhoneNumber %> <% if $PhoneNumber %>
<a href="$PhoneNumber.LinkURL" title="Phone Number" class="pnum"> <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> <i class="visually-hidden">Email</i>
</a> </a>
<% end_if %> <% end_if %>
<% if $PublicEmail %> <% if $PublicEmail %>
<a href="$PublicEmail.LinkURL" title="Email" class="email"> <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> <i class="visually-hidden">Email</i>
</a> </a>
<% end_if %> <% end_if %>
<% if $Facebook %> <% if $Facebook %>
<a href="$Facebook.LinkURL" title="Facebook" class="fb" rel="noreferrer" target="_blank"> <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> <i class="visually-hidden">Facebook</i>
</a> </a>
<% end_if %> <% end_if %>
<% if $LinkedIn %> <% if $LinkedIn %>
<a href="$LinkedIn.LinkURL" title="LinkedIn" class="li" rel="noreferrer" target="_blank"> <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> <i class="visually-hidden">LinkedIn</i>
</a> </a>
<% end_if %> <% end_if %>
<% if $Pinterest %> <% if $Pinterest %>
<a href="$Pinterest.LinkURL" title="Pinterest" class="pr" rel="noreferrer" target="_blank"> <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> <i class="visually-hidden">Pinterest</i>
</a> </a>
<% end_if %> <% end_if %>
<% if $Instagram %> <% if $Instagram %>
<a href="$Instagram.LinkURL" title="Instagram" class="in" rel="noreferrer" target="_blank"> <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> <i class="visually-hidden">Instagram</i>
</a> </a>
<% end_if %> <% end_if %>
<% if $Twitter %> <% if $Twitter %>
<a href="$Twitter.LinkURL" title="Twitter" class="tw" rel="noreferrer" target="_blank"> <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> <i class="visually-hidden">Twitter</i>
</a> </a>
<% end_if %> <% end_if %>
<% if $Youtube %> <% if $Youtube %>
<a href="$Youtube.LinkURL" title="YouTube" class="yt" rel="noreferrer" target="_blank"> <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> <i class="visually-hidden">YouTube</i>
</a> </a>
<% end_if %> <% end_if %>
<% if $Tiktok %> <% if $Tiktok %>
<a href="$Tiktok.LinkURL" target="_blank"> <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> <i class="sr-only">Tiktok</i>
</a> </a>
<% end_if %> <% end_if %>