Skip to content

Commit a8b6096

Browse files
committed
Bluesky icon added and minor change to twitch icon
1 parent f306f4f commit a8b6096

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed

components/footer/Footer.jsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ import * as ROUTES from '../../common/routes'
88
import { getLiteral } from '../../common/i18n'
99

1010
import IconTwitter from '../../public/icons/twitter'
11+
import IconBluesky from '../../public/icons/bluesky'
1112
import IconFacebook from '../../public/icons/facebook'
1213
import IconYouTube from '../../public/icons/youtube'
14+
import IconTwitch from '../../public/icons/twitch'
1315
import IconLinkedIn from '../../public/icons/linkedin'
1416
import IconGitHub from '../../public/icons/github'
15-
import IconTwitch from '../../public/icons/twitch'
1617

1718
const Footer = () => {
1819
const { pathname } = useRouter()
@@ -50,6 +51,17 @@ const Footer = () => {
5051
<IconTwitter />
5152
</span>
5253
</a>
54+
<a
55+
className="footer__button"
56+
href={getLiteral('footer:bluesky-url')}
57+
target="_blank"
58+
rel="noreferrer"
59+
aria-label={getLiteral('footer:bluesky-label')}
60+
>
61+
<span aria-hidden="true">
62+
<IconBluesky />
63+
</span>
64+
</a>
5365
<a
5466
className="footer__button"
5567
href={getLiteral('footer:facebook-url')}

content/commons.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
"footer:github-url": "https://github.com/github/maintainermonth",
4545
"footer:twitch-label": "Follow us on Twitch",
4646
"footer:twitch-url": "https://www.twitch.tv/github",
47+
"footer:bluesky-label": "Follow us on Bluesky",
48+
"footer:bluesky-url": "https://bsky.app/profile/github.com",
4749

4850
"hero:image-description": "Illustration by Ariel Davis, of a surreal geometric assortment of hands and shapes implying collaboration",
4951

public/icons/bluesky.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const IconBluesky = () => {
2+
return (
3+
<svg className="icon-bluesky" xmlns="http://www.w3.org/2000/svg"
4+
viewBox="0 0 568 501" width="17" height="17" fill="none">
5+
<path d="M123.121 33.6637C188.241 82.5526 258.281 181.681 284 234.873C309.719 181.681 379.759 82.5526 444.879 33.6637C491.866 -1.61183 568 -28.9064 568 57.9464C568 75.2916 558.055 203.659 552.222 224.501C531.947 296.954 458.067 315.434 392.347 304.249C507.222 323.8 536.444 388.56 473.333 453.32C353.473 576.312 301.061 422.461 287.631 383.039C285.169 375.812 284.017 372.431 284 375.306C283.983 372.431 282.831 375.812 280.369 383.039C266.939 422.461 214.527 576.312 94.6667 453.32C31.5556 388.56 60.7778 323.8 175.653 304.249C109.933 315.434 36.0535 296.954 15.7778 224.501C9.94525 203.659 0 75.2916 0 57.9464C0 -28.9064 76.1345 -1.61183 123.121 33.6637Z" fill="white" />
6+
</svg>
7+
8+
)
9+
}
10+
11+
export default IconBluesky

public/icons/twitch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const IconTwitch = () => {
22
return (
33
<svg className="icon-twitch" xmlns="http://www.w3.org/2000/svg"
4-
viewBox="0 0 2400 2800" width="20" height="20" fill="none">
4+
viewBox="0 0 2400 2800" width="18" height="18" fill="none">
55
<g>
66
<g id="Layer_1-2">
77
<path d="M500,0L0,500v1800h600v500l500-500h400l900-900V0H500z M2200,1300l-400,400h-400l-350,350v-350H600V200h1600

0 commit comments

Comments
 (0)