Skip to content

Commit a59a14e

Browse files
committed
add withLegal to the new legal slot
1 parent 61107f1 commit a59a14e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/site/components/withFooter.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { siteNavigation } from '#site/next.json.mjs';
88

99
import type { FC } from 'react';
1010

11+
import WithLegal from './withLegal';
1112
import WithNodeRelease from './withNodeRelease';
1213

1314
const WithFooter: FC = () => {
@@ -50,12 +51,14 @@ const WithFooter: FC = () => {
5051
</div>
5152
);
5253

54+
const legal = <WithLegal footerLinks={navigation.footerLinks} />;
55+
5356
return (
5457
<Footer
5558
navigation={navigation}
5659
as={Link}
5760
pathname={pathname}
58-
slots={{ primary }}
61+
slots={{ primary, legal }}
5962
/>
6063
);
6164
};

0 commit comments

Comments
 (0)