Skip to content

Commit

Permalink
chore(footer): add mastodon svg icon (#9689)
Browse files Browse the repository at this point in the history
* feat(footer): add mastodon svg icon

ref. Brand Toolkit - Mastodon - https://joinmastodon.org/branding

* fix(footer): manual adjustment of mastodon.svg for the footer usage

* feat(footer): replace mastodon icon link with twitter

* fix(footer): revert twitter icon link

* refactor(footer): move "mastodon" order and apply prettier
  • Loading branch information
shuuji3 authored Nov 3, 2023
1 parent 9507664 commit 321caf4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
3 changes: 3 additions & 0 deletions client/src/assets/icons/mastodon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions client/src/ui/atoms/icon/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ $icons: "add-filled", "add", "altname", "bell-filled", "bell", "bookmark-filled"
"bookmark", "cancel", "chatgpt", "checkmark", "chevron", "chrome", "critical",
"deno", "deprecated", "desktop", "disabled", "edge", "edit", "ellipses",
"experimental", "external", "eye-filled", "eye", "feed", "filter", "footnote",
"github-mark-small", "ie", "information", "language", "menu-filled", "menu",
"mobile", "more", "theme-dark", "next", "no", "nodejs", "nonstandard",
"note-info", "note-warning", "note-deprecated", "opera", "padlock", "partial",
"prefix", "preview", "previous", "quote", "safari", "samsunginternet",
"search", "send", "server", "sidebar", "simple-firefox", "small-arrow",
"theme-light", "star-filled", "star", "theme-os-default", "thumbs-down",
"thumbs-up", "trash", "twitter", "unknown", "warning", "webview", "yes",
"yes-circle";
"github-mark-small", "ie", "information", "language", "mastodon",
"menu-filled", "menu", "mobile", "more", "theme-dark", "next", "no", "nodejs",
"nonstandard", "note-info", "note-warning", "note-deprecated", "opera",
"padlock", "partial", "prefix", "preview", "previous", "quote", "safari",
"samsunginternet", "search", "send", "server", "sidebar", "simple-firefox",
"small-arrow", "theme-light", "star-filled", "star", "theme-os-default",
"thumbs-down", "thumbs-up", "trash", "twitter", "unknown", "warning",
"webview", "yes", "yes-circle";

.icon {
--size: var(--icon-size, 1rem);
Expand Down
10 changes: 10 additions & 0 deletions client/src/ui/organisms/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ export function Footer() {
</a>
<p>Your blueprint for a better internet.</p>
<ul className="social-icons">
<li>
<a
className="icon icon-mastodon"
href="https://mozilla.social/@mdn"
target="_blank"
rel="me noopener noreferrer"
>
<span className="visually-hidden">MDN on Mastodon</span>
</a>
</li>
<li>
<a
className="icon icon-twitter"
Expand Down

0 comments on commit 321caf4

Please sign in to comment.