Skip to content

Commit

Permalink
chore(footer): replace Twitter with X logo (#10438)
Browse files Browse the repository at this point in the history
Signed-off-by: TATHAGATA ROY <royzen9495@gmail.com>
Co-authored-by: Claas Augner <caugner@mozilla.com>
  • Loading branch information
roy9495 and caugner authored Mar 1, 2024
1 parent 4b89823 commit a940648
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions client/src/assets/icons/twitter-x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion client/src/assets/icons/twitter.svg

This file was deleted.

2 changes: 1 addition & 1 deletion client/src/ui/atoms/icon/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $icons: "add-filled", "add", "altname", "bell", "bell-filled", "bell-ring",
"previous", "queue", "queued", "quote", "return", "safari", "samsunginternet",
"search", "send", "server", "sidebar", "simple-firefox", "small-arrow",
"theme-light", "star-filled", "star", "theme-os-default", "thumbs-down",
"thumbs-up", "trash", "trash-filled", "twitter", "unknown", "warning",
"thumbs-up", "trash", "trash-filled", "twitter-x", "unknown", "warning",
"webview", "yes", "yes-circle";

.icon {
Expand Down
6 changes: 4 additions & 2 deletions client/src/ui/organisms/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ export function Footer() {
</li>
<li>
<a
className="icon icon-twitter"
className="icon icon-twitter-x"
href="https://twitter.com/mozdevnet"
target="_blank"
rel="noopener noreferrer"
>
<span className="visually-hidden">MDN on Twitter</span>
<span className="visually-hidden">
MDN on X (formerly Twitter)
</span>
</a>
</li>
<li>
Expand Down

0 comments on commit a940648

Please sign in to comment.