This commit is contained in:
Zeno Kapitein
2026-01-20 18:41:17 +01:00
parent 39099bb83a
commit 9b4e4055bd
@@ -8,7 +8,6 @@ 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;
@@ -138,25 +137,6 @@ export function Footer(props: { context: GitBookSiteContext }) {
) : null
}
{
// Social Links
customization.socialAccounts.filter(
(account) => account.display?.footer
).length > 0 ? (
<div className="col-span-full flex w-full grow items-center justify-center gap-2">
{customization.socialAccounts
.filter((account) => account.display?.footer)
.map((account) => (
<SocialLink
key={`${account.platform}-${account.handle}`}
account={account}
target={customization.externalLinks.target}
/>
))}
</div>
) : null
}
{
// Legal
customization.footer.copyright ? (