Skip to content

Commit

Permalink
🍱 Remove twitter
Browse files Browse the repository at this point in the history
  • Loading branch information
pajowu authored and krmax44 committed Nov 26, 2024
1 parent 685279d commit 3ba480e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
6 changes: 0 additions & 6 deletions froide/templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ <h3>{{ SITE_NAME }}</h3>
<span class="visually-hidden">GitHub</span>
</a>
</li>
<li>
<a href="https://twitter.com/okfde" target="_blank" rel="noopener">
<i class="fa fa-twitter" aria-hidden="true"></i>
<span class="visually-hidden">Twitter</span>
</a>
</li>
</ul>
{% endblock %}
</div>
Expand Down
12 changes: 0 additions & 12 deletions froide/templates/snippets/share_buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,6 @@
<div class="d-inline-flex flex-wrap no-hyphens {% if links %}column-gap-3 row-gap-1{% else %}gap-1{% endif %}"
aria-label="{% trans "Share on social media" %}">
{% if not image %}
{% if twitter %}
{# off by default #}
<a class="{% if not links %}btn btn-share-twitter{% endif %}"
rel="noopener"
target="_blank"
href="https://twitter.com/share?text={{ text|urlencode }}&url={{ url|urlencode }}">
<i class="fa fa-twitter"></i>
{% if icons_only %}<span class="sr-only">{% endif %}
Twitter
{% if icons_only %}</span>{% endif %}
</a>
{% endif %}
{% if bluesky|default_if_none:True %}
{# on by default #}
<a class="{% if not links %}btn btn-share-bluesky{% endif %}"
Expand Down
4 changes: 2 additions & 2 deletions frontend/styles/components/share-buttons.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@import 'bootstrap/scss/mixins/buttons';

.btn-share {
&-twitter {
@include button-outline-variant(#1da1f2, #fff);
&-bluesky {
@include button-outline-variant(#0085ff, #fff);
}

&-facebook {
Expand Down

0 comments on commit 3ba480e

Please sign in to comment.