1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 20:42:40 +00:00

Remove all links to twitter.com

Resolves #185
This commit is contained in:
Jocelyn Badgley
2025-11-11 15:08:49 -08:00
parent 0b3f048f56
commit 2406d6b51e
2 changed files with 8 additions and 12 deletions

View File

@@ -90,10 +90,6 @@
color: $textDarkDark; color: $textDarkDark;
} }
&:hover {
color: $textHover;
}
b { b {
grid-area: avatar; grid-area: avatar;
display: flex; display: flex;

View File

@@ -1,8 +1,8 @@
<div class="tweet{{#is ids.length 1}} single{{/is}} {{className}}" style="{{style}}"> <div class="tweet{{#is ids.length 1}} single{{/is}} {{className}}" style="{{style}}">
{{#each ids}} {{#each ids}}
<div class="tweet-item" data-id="{{this}}">{{#with tweets[this]}} <div class="tweet-item" data-id="{{this}}">{{#with tweets[this]}}
<a class="tweet-link" href="https://twitter.com/{{user.screen_name}}/status/{{id_str}}" target="_blank">{{icon 'link'}}</a> <span class="tweet-link" target="_blank">{{icon 'link'}}</span>
<a class="tweet-header" href="https://twitter.com/{{user.screen_name}}" target="_blank"> <span class="tweet-header" target="_blank">
<b><img src="{{rev user.avatar.output}}" alt=""></b> <b><img src="{{rev user.avatar.output}}" alt=""></b>
<strong> <strong>
{{{user.name_html}}} {{{user.name_html}}}
@@ -11,19 +11,19 @@
</strong> </strong>
<span>@{{user.screen_name}}</span> <span>@{{user.screen_name}}</span>
<img src="/tweets/logo.svg" alt="Twitter Logo" class="tweet-logo"> <img src="/tweets/logo.svg" alt="Twitter Logo" class="tweet-logo">
</a> </span>
{{#if this.quoted_status_id_str}}{{#with tweets[quoted_status_id_str]}} {{#if this.quoted_status_id_str}}{{#with tweets[quoted_status_id_str]}}
<div class="tweet-quoted"> <div class="tweet-quoted">
<a href="https://twitter.com/{{user.screen_name}}/status/{{id_str}}"> <span rel="author">
<strong>{{{user.name_html}}}</strong> <strong>{{{user.name_html}}}</strong>
<span>@{{user.screen_name}}</span> <span>@{{user.screen_name}}</span>
</a> </span>
{{#compare this.quoted_status_id_str '!=' this.id_str}}{{#with tweets[quoted_status_id_str]}} {{#compare this.quoted_status_id_str '!=' this.id_str}}{{#with tweets[quoted_status_id_str]}}
<div class="tweet-quoted"> <div class="tweet-quoted">
<a href="https://twitter.com/{{user.screen_name}}/status/{{id_str}}"> <span rel="author">
<strong>{{{user.name_html}}}</strong> <strong>{{{user.name_html}}}</strong>
<span>@{{user.screen_name}}</span> <span>@{{user.screen_name}}</span>
</a> </span>
{{#if html_i18n[page.lang]}} {{#if html_i18n[page.lang]}}
<div class="tweet-quoted-text">{{{html_i18n[page.lang]}}}</div> <div class="tweet-quoted-text">{{{html_i18n[page.lang]}}}</div>
{{else}} {{else}}
@@ -75,7 +75,7 @@
</div></div></div></div> </div></div></div></div>
{{/any}} {{/any}}
<div class="tweet-footer"> <div class="tweet-footer">
<a class="tweet-date" href="https://twitter.com/{{user.screen_name}}/status/{{id_str}}" target="_blank" title="{{date created_at 'iso'}}">{{date created_at (lang 'TWEET_DATE_FORMAT')}}</a> <span class="tweet-date" title="{{date created_at 'iso'}}">{{date created_at (lang 'TWEET_DATE_FORMAT')}}</span>
</div> </div>
{{else}}{{{lang 'MISSING_TWEET_FOR'}}} {{this}}{{/with}}</div> {{else}}{{{lang 'MISSING_TWEET_FOR'}}} {{this}}{{/with}}</div>
{{/each}} {{/each}}