Skip to content

Commit 6b39bb1

Browse files
authored
feat: add Bluesky social icon and update footer navigation (#7218)
* feat: add Bluesky social icon and update footer navigation * add Bluesky social icon to social media logos story * change icon order
1 parent 7cef2d5 commit 6b39bb1

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

apps/site/components/Containers/Footer/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { useTranslations } from 'next-intl';
22
import type { FC, SVGProps } from 'react';
33

44
import NavItem from '@/components/Containers/NavBar/NavItem';
5+
import Bluesky from '@/components/Icons/Social/Bluesky';
56
import GitHub from '@/components/Icons/Social/GitHub';
67
import LinkedIn from '@/components/Icons/Social/LinkedIn';
78
import Mastodon from '@/components/Icons/Social/Mastodon';
@@ -17,6 +18,7 @@ const footerSocialIcons: Record<string, React.FC<SVGProps<SVGSVGElement>>> = {
1718
twitter: Twitter,
1819
slack: Slack,
1920
linkedin: LinkedIn,
21+
bluesky: Bluesky,
2022
};
2123

2224
const Footer: FC = () => {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import type { FC, SVGProps } from 'react';
2+
3+
const Bluesky: FC<SVGProps<SVGSVGElement>> = props => (
4+
<svg
5+
width="20"
6+
height="20"
7+
viewBox="0 0 568 501"
8+
fill="none"
9+
xmlns="http://www.w3.org/2000/svg"
10+
{...props}
11+
>
12+
<path
13+
fill="#1185FE"
14+
d="M123.121 33.664C188.241 82.553 258.281 181.68 284 234.873c25.719-53.192 95.759-152.32 160.879-201.21C491.866-1.611 568-28.906 568 57.947c0 17.346-9.945 145.713-15.778 166.555-20.275 72.453-94.155 90.933-159.875 79.748C507.222 323.8 536.444 388.56 473.333 453.32c-119.86 122.992-172.272-30.859-185.702-70.281-2.462-7.227-3.614-10.608-3.631-7.733-.017-2.875-1.169.506-3.631 7.733-13.43 39.422-65.842 193.273-185.702 70.281-63.111-64.76-33.89-129.52 80.986-149.071-65.72 11.185-139.6-7.295-159.875-79.748C9.945 203.659 0 75.291 0 57.946 0-28.906 76.135-1.612 123.121 33.664Z"
15+
></path>
16+
</svg>
17+
);
18+
19+
export default Bluesky;

apps/site/components/__design__/social-logos.stories.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
22

3+
import Bluesky from '@/components/Icons/Social/Bluesky';
34
import GitHub from '@/components/Icons/Social/GitHub';
45
import LinkedIn from '@/components/Icons/Social/LinkedIn';
56
import Mastodon from '@/components/Icons/Social/Mastodon';
@@ -17,6 +18,7 @@ export const SocialMediaLogos: StoryObj = {
1718
<div className="flex flex-col items-center gap-4">
1819
<Slack width={64} height={64} />
1920
<Twitter width={64} height={64} />
21+
<Bluesky width={64} height={64} />
2022
</div>
2123
</div>
2224
),

apps/site/navigation.json

+5
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@
6868
"link": "https://twitter.com/nodejs",
6969
"alt": "Twitter"
7070
},
71+
{
72+
"icon": "bluesky",
73+
"link": "https://bsky.app/profile/nodejs.org",
74+
"alt": "Bluesky"
75+
},
7176
{
7277
"icon": "slack",
7378
"link": "https://slack-invite.openjsf.org/",

0 commit comments

Comments
 (0)