silverstripe-elemental-basics/templates/Objects/ShareLinks.ss

19 lines
841 B
Scheme
Raw Normal View History

2021-06-19 20:27:51 +02:00
<div class="sc-links sc-links-share">
2021-09-08 02:20:03 +02:00
<a
2021-09-08 02:20:56 +02:00
target="_blank"
2021-09-08 02:20:03 +02:00
href="mailto:?subject=I wanted you to see this site&amp;body=Check out this site $Link"
>
<i class="fa fas fa-envelope"></i>
<span class="visually-hidden">Share by Email</span>
</a>
2021-08-02 22:38:37 +02:00
<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u={$AbsoluteLink}" rel="noreferrer" class="fb" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u={$AbsoluteLink}','sharer','toolbar=0,status=0,width=530,height=520');return false;">
2021-09-08 02:16:32 +02:00
<i class="fa fab fa-facebook-f"></i>
2021-06-19 20:27:51 +02:00
<span class="visually-hidden">Share Facebook</span>
</a>
2021-08-02 22:38:37 +02:00
<a target="_blank" href="https://twitter.com/intent/tweet?url={$AbsoluteLink}" rel="noreferrer" class="tw">
2021-09-08 02:16:32 +02:00
<i class="fa fab fa-twitter"></i>
2021-06-19 20:27:51 +02:00
<span class="visually-hidden">Share Twitter</span>
</a>
</div>