Skip to content

Instantly share code, notes, and snippets.

@clouddueling
Created January 12, 2015 18:52
Show Gist options
  • Save clouddueling/d926be8a3d1d466bc42e to your computer and use it in GitHub Desktop.
Save clouddueling/d926be8a3d1d466bc42e to your computer and use it in GitHub Desktop.
<a
class='btn social-facebook btn-large'
href='https://www.facebook.com/sharer.php?s=100&p[title]=<?php echo urlencode($name); ?>&p[url]={{ urlencode(url("{$account->local}/{$meet->local}")) }}&p[summary]={{ urlencode(strip_html_tags($meet->overview)) }}&p[images][0]={{ urlencode(Config::get('aws.s3') . '/' . $meet->image) }}'
target='_blank'>&nbsp;</a>
<a
class='btn social-twitter btn-large'
href='https://twitter.com/share?url={{ urlencode(url("{$account->local}/{$meet->local}")) }}&text={{ urlencode($meet->name) }}'
target='_blank'>&nbsp;</a>
<a
class='btn social-pinterest btn-large'
href='https://pinterest.com/pin/create/button/?url={{ urlencode(url("{$account->local}/{$meet->local}")) }}&media={{ urlencode(Config::get('aws.s3') . '/' . $meet->image) }}&description={{ urlencode($meet->name) }}{{ urlencode(strip_html_tags($meet->overview)) }}'
target='_blank'>&nbsp;</a>
<a
class='btn social-linkedin btn-large'
href='https://linkedin.com/shareArticle?mini=true&url={{ urlencode(url("{$account->local}/{$meet->local}")) }}&title={{ urlencode($meet->name) }}&summary={{ urlencode(strip_html_tags($meet->overview)) }}'
target='_blank'>&nbsp;</a>
<a
class='btn social-email btn-large'
href='mailto:?subject={{ urlencode($meet->name) }}&body={{ urlencode(strip_html_tags($meet->overview) . "\n\n") }}{{ urlencode(url("{$account->local}/{$meet->local}")) }}'
target='_blank'>&nbsp;</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment