From d602621995b2bb627e2d45c54f03e44b7d5afed0 Mon Sep 17 00:00:00 2001 From: Nikhil Kumar Rajak Date: Sat, 8 Aug 2026 20:02:10 +0000 Subject: [PATCH] feat(footer): group social links under the brand column and add Bluesky --- components/Footer/index.jsx | 43 +++++++++++++++++------------- components/Footer/index.module.css | 33 +++++++++++++++++------ pages/site.json | 4 +++ 3 files changed, 53 insertions(+), 27 deletions(-) diff --git a/components/Footer/index.jsx b/components/Footer/index.jsx index 7f6d787a..1d163b1b 100644 --- a/components/Footer/index.jsx +++ b/components/Footer/index.jsx @@ -2,6 +2,7 @@ import GitHubIcon from '@node-core/ui-components/Icons/Social/GitHub'; import LinkedInIcon from '@node-core/ui-components/Icons/Social/LinkedIn'; import DiscordIcon from '@node-core/ui-components/Icons/Social/Discord'; import XIcon from '@node-core/ui-components/Icons/Social/X'; +import BlueskyIcon from '@node-core/ui-components/Icons/Social/Bluesky'; import { footer } from '#theme/site'; import Logo from '#theme/Logo'; @@ -10,6 +11,7 @@ import styles from './index.module.css'; const SOCIAL_ICONS = { GitHub: GitHubIcon, X: XIcon, + Bluesky: BlueskyIcon, Discord: DiscordIcon, LinkedIn: LinkedInIcon, }; @@ -31,6 +33,28 @@ export default () => ( A static module bundler for modern JavaScript applications. Maintained by the open-source community since 2012.

+ {footer.groups.map(section => ( @@ -70,25 +94,6 @@ export default () => ( respective holders. Use of them does not imply any affiliation with or endorsement by them.

- diff --git a/components/Footer/index.module.css b/components/Footer/index.module.css index c989b000..f2e3fb36 100644 --- a/components/Footer/index.module.css +++ b/components/Footer/index.module.css @@ -86,16 +86,10 @@ } .bottom { - @apply flex - flex-col - gap-4 - items-center - mt-10 + @apply mt-10 pt-6 border-t - border-neutral-900 - sm:flex-row - sm:justify-between; + border-neutral-900; } .legal { @@ -104,8 +98,27 @@ text-neutral-600; } +.legal a { + @apply text-neutral-400 + underline + underline-offset-2 + decoration-neutral-700 + transition-colors + duration-150 + hover:text-blue-300 + hover:decoration-blue-300; +} + +.socialGroup { + @apply flex + flex-col + gap-3.5 + mt-2; +} + .social { @apply flex + flex-wrap items-center gap-4 m-0 @@ -120,3 +133,7 @@ duration-150 hover:text-neutral-50; } + +.socialLink svg path { + @apply fill-current; +} diff --git a/pages/site.json b/pages/site.json index b9543d91..9770533b 100644 --- a/pages/site.json +++ b/pages/site.json @@ -36,6 +36,10 @@ "label": "X", "link": "https://x.com/webpack" }, + { + "label": "Bluesky", + "link": "https://bsky.app/profile/webpack.js.org" + }, { "label": "Discord", "link": "https://discord.com/invite/webpack"