Skip to content

Commit

Permalink
change twitter icons to X
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsharE committed Dec 28, 2023
1 parent 1c4588d commit 49fd7ff
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,16 @@ footer .footer-badges img:last-child {
.author-profile .author-meta .social-link {
margin: 0px 2px;
}
.author-profile .author-meta .social-link-tw span {
position: relative;
top: -1px;
}
.author-profile .author-meta .social-link-tw span svg {
fill: #0da58e;
}
.author-profile .author-meta .social-link-tw:hover span svg {
fill: #075e51;
}
.author-profile .author-meta .bull {
display: inline-block;
margin: 0 8px;
Expand Down
4 changes: 2 additions & 2 deletions assets/css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion author.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ into the {body} of the default.hbs template --}}
<a class="social-link social-link-wb" href="{{website}}" target="_blank" rel="noopener"><span class="fas fa-globe"></span></a>
{{/if}}
{{#if twitter}}
<a class="social-link social-link-tw" href="{{twitter_url}}" target="_blank" rel="noopener"><span class="fab x-twitter"></span></a>
<a class="social-link social-link-tw" href="{{twitter_url}}" target="_blank" rel="noopener"><span class="fab"><svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg></span></a>
{{/if}}
{{#if facebook}}
<a class="social-link social-link-fb" href="{{facebook_url}}" target="_blank" rel="noopener"><span class="fab fa-facebook-f"></span></a>
Expand Down

0 comments on commit 49fd7ff

Please sign in to comment.