From 27f21a3952fc8453b47c187594fb8a49dca185d7 Mon Sep 17 00:00:00 2001 From: Zeno Kapitein Date: Wed, 21 Jan 2026 11:54:30 +0100 Subject: [PATCH] Update Footer.tsx --- .../gitbook/src/components/Footer/Footer.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/packages/gitbook/src/components/Footer/Footer.tsx b/packages/gitbook/src/components/Footer/Footer.tsx index e909bba3d..ab551ec54 100644 --- a/packages/gitbook/src/components/Footer/Footer.tsx +++ b/packages/gitbook/src/components/Footer/Footer.tsx @@ -8,6 +8,7 @@ import { tcls } from '@/lib/tailwind'; import { ThemeToggler } from '../ThemeToggler'; import { CONTAINER_STYLE } from '../layout'; import { FooterLinksGroup } from './FooterLinksGroup'; +import { SocialLink } from './SocialLink'; const FOOTER_COLUMNS = 4; @@ -23,6 +24,8 @@ export function Footer(props: { context: GitBookSiteContext }) { const mobileOnly = !hasLogo && !hasGroups && !hasCopyright && hasThemeToggle; + const socialLinks = customization.socialAccounts.filter((account) => account.display?.footer); + return (