Skip to content

Commit

Permalink
Change twitter.com to x.com (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock authored Jul 8, 2024
1 parent d2788f2 commit dd8ff90
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/assets/scss/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ footer {
background-image: url('../images/social-icons/github.svg');
}

&.twitter {
background-image: url('../images/social-icons/twitter.svg');
&.x {
background-image: url('../images/social-icons/x.svg');
}

&.reddit {
Expand Down
4 changes: 2 additions & 2 deletions src/assets/scss/_landing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ body {
background-image: url('../images/social-icons/telegram.svg');
}

&.twitter {
background-image: url('../images/social-icons/twitter.svg');
&.x {
background-image: url('../images/social-icons/x.svg');
}

&.matrix {
Expand Down
6 changes: 3 additions & 3 deletions src/data/community/channels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
highlight: false
footer: false
-
id: twitter
url: "https://twitter.com/decredproject"
name: Twitter
id: x
url: "https://x.com/decredproject"
name: X
highlight: false
footer: true
-
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
{{ range where $.Site.Data.community.channels "id" "telegram" }}
<a class="social {{ .id }}" href="{{ .url }}" target="_blank" rel="noopener noreferrer"></a>
{{ end }}
{{ range where $.Site.Data.community.channels "id" "twitter" }}
{{ range where $.Site.Data.community.channels "id" "x" }}
<a class="social {{ .id }}" href="{{ .url }}" target="_blank" rel="noopener noreferrer"></a>
{{ end }}
</div>
Expand Down
1 change: 0 additions & 1 deletion src/static/images/social-icons/twitter.svg

This file was deleted.

18 changes: 18 additions & 0 deletions src/static/images/social-icons/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dd8ff90

Please sign in to comment.