jonnybarnes.uk/resources/views/templates/social-links.blade.php
Jonny Barnes 4833540642 Squashed commit of the following:
commit e7723f4290dd79eddc2a8dd1d4c2725914a90b55
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Nov 3 19:44:33 2016 +0000

    Add latest change to the changelog

commit e2104997ab796eeba320931beaec3bc99fd2d296
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Nov 3 19:43:27 2016 +0000

    Pass correct info to updated social links template

commit 586ca9b5446e272ef3b89a615ba0666e6f7d8d82
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Nov 3 19:42:08 2016 +0000

    Remove reply/like/repost links, add facebook link

commit 00483089380d2e00d24d86a4b1a03363161c7a97
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Nov 3 19:22:46 2016 +0000

    Add dummy Facebook URLs for syndication

commit 2e001b04e36a7fd1198fe5ee70db65cd2523e123
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Nov 3 19:22:11 2016 +0000

    Clarify that syndication isn’t being tested during micropub client integration test
2016-11-03 19:45:56 +00:00

21 lines
2.4 KiB
PHP

<span class="social-links">
@if($tweet_id !== null)<a class="u-syndication" href="https://twitter.com/i/web/status/{{ $tweet_id }}" title="View note on Twitter">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" preserveAspectRatio="xMinYMin meet" viewBox="0 0 171.5054 139.37839" class="icon">
<g transform="translate(-282.32053,-396.30734)">
<path fill="#4099FF" d="m 453.82593,412.80619 c -6.3097,2.79897 -13.09189,4.68982 -20.20852,5.54049 7.26413,-4.35454 12.84406,-11.24992 15.47067,-19.46675 -6.79934,4.03295 -14.3293,6.96055 -22.34461,8.53841 -6.41775,-6.83879 -15.56243,-11.111 -25.68298,-11.111 -19.43159,0 -35.18696,15.75365 -35.18696,35.18525 0,2.75781 0.31128,5.44359 0.91155,8.01875 -29.24344,-1.46723 -55.16995,-15.47582 -72.52461,-36.76396 -3.02879,5.19662 -4.76443,11.24048 -4.76443,17.6891 0,12.20777 6.21194,22.97747 15.65332,29.28716 -5.76773,-0.18265 -11.19331,-1.76565 -15.93716,-4.40083 -0.004,0.14663 -0.004,0.29412 -0.004,0.44248 0,17.04767 12.12889,31.26806 28.22555,34.50266 -2.95247,0.80436 -6.06101,1.23398 -9.26989,1.23398 -2.2673,0 -4.47114,-0.22124 -6.62011,-0.63114 4.47801,13.97857 17.47214,24.15143 32.86992,24.43441 -12.04227,9.43796 -27.21366,15.06335 -43.69965,15.06335 -2.84014,0 -5.64082,-0.16722 -8.39349,-0.49223 15.57186,9.98421 34.06703,15.8094 53.93768,15.8094 64.72024,0 100.11301,-53.61524 100.11301,-100.11387 0,-1.52554 -0.0343,-3.04251 -0.10204,-4.55261 6.87394,-4.95995 12.83891,-11.15646 17.55618,-18.21305 z" />
</g>
</svg>
</a>@endif
@if($facebook_url !== null)<a class="u-syndication" href="{{ $facebook_url }}" title="View note on Facebook">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" preservedAspectRatio="xMinYMin meet" viewBox="0 0 266.893 266.895" class="icon">
<path id="Blue_1_" fill="#3C5A99" d="M248.082,262.307c7.854,0,14.223-6.369,14.223-14.225V18.812
c0-7.857-6.368-14.224-14.223-14.224H18.812c-7.857,0-14.224,6.367-14.224,14.224v229.27c0,7.855,6.366,14.225,14.224,14.225
H248.082z"
/>
<path id="f" fill="#FFFFFF" d="M182.409,262.307v-99.803h33.499l5.016-38.895h-38.515V98.777c0-11.261,3.127-18.935,19.275-18.935
l20.596-0.009V45.045c-3.562-0.474-15.788-1.533-30.012-1.533c-29.695,0-50.025,18.126-50.025,51.413v28.684h-33.585v38.895h33.585
v99.803H182.409z"
/>
</svg>
</a>@endif
</span>