Skip to content

Instantly share code, notes, and snippets.

@manh-dan
Forked from james2doyle/social.blade.php
Created January 5, 2021 04:46
Show Gist options
  • Save manh-dan/d775202493f0899ea423eb905f1ec4b0 to your computer and use it in GitHub Desktop.
Save manh-dan/d775202493f0899ea423eb905f1ec4b0 to your computer and use it in GitHub Desktop.
Social Share Links in Laravel Blade syntax
<a href="https://www.facebook.com/sharer.php?u={{ $url }}" rel="me" title="Facebook" target="_blank"><i class="fa facebook"></i></a>
<a href="https://twitter.com/share?url={{ $url }}&text={{ $title }}" rel="me" title="Twitter" target="_blank"><i class="fa twitter"></i></a>
<a href="https://pinterest.com/pin/create/button/?url={{ $url }}&media={{ $image }}&description={{ $title }}" rel="me" title="Pinterest" target="_blank"><i class="fa pinterest"></i></a>
<a href="https://www.thefancy.com/fancyit?ItemURL={{ $url }}&Title={{ $title }}&Category={{ $category }}&ImageURL={{ $image }}" rel="me" title="Fancy" target="_blank"><i class="fa fancy"></i></a>
<a href="https://plus.google.com/share?url={{ $url }}" rel="me" title="Google Plus" target="_blank"><i class="fa google"></i></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment