Skip to content
Snippets Groups Projects
Commit 4ddf5c49 authored by Teemu Autto's avatar Teemu Autto
Browse files

Added social media sharing buttons.

parent 4bdf513c
No related branches found
No related tags found
No related merge requests found
Pipeline #13983 passed
......@@ -89,6 +89,22 @@
</div>
</div>
</div>
<div class="row justify-content-md-center">
<div class="col-md-auto">
<a href="https://twitter.com/intent/tweet?url={{ url_for('items.view', id=item.id, _external=True) | urlencode }}&text={{ "Check out this awesome and cheap item." | urlencode }}" class="btn btn-twitter" target="_blank" style="background-color: #1DA1F2; color:#fff;">
🐦
Elon-senpai notice me!
</a>
<a href="https://www.facebook.com/sharer.php?u={{ url_for('items.view', id=item.id, _external=True) | urlencode }}" target="_blank" class="btn btn-twitter" target="_blank" style="background-color: #4267B2; color:#fff;">
🌙
Zuckdaddy, you so alpha!
</a>
<a href="mailto:?subject={{ item.title | urlencode }}&body={{ url_for('items.view', id=item.id, _external=True) | urlencode }}" target="_blank" class="btn btn-primary" target="_blank">
📧
Email to a friend
</a>
</div>
</div>
</div>
{% endblock %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment