Skip to content

Commit 342b1ac

Browse files
committed
update
1 parent 1207423 commit 342b1ac

File tree

2 files changed

+7
-78
lines changed

2 files changed

+7
-78
lines changed

app/[lang]/docs/layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { DocsLayout } from "fumadocs-ui/layouts/docs";
22
import type { ReactNode } from "react";
3+
import { SidebarFooter } from "@/components/docs/SidebarFooter";
34
import { i18n, type Locale } from "@/lib/i18n";
45
import { baseOptions } from "@/lib/layout.shared";
56
import { source } from "@/lib/source";
@@ -16,7 +17,12 @@ export default async function Layout({ children, params }: LayoutProps) {
1617
) as Locale;
1718

1819
return (
19-
<DocsLayout tree={source.getPageTree(locale)} {...baseOptions(locale)} i18n>
20+
<DocsLayout
21+
tree={source.getPageTree(locale)}
22+
{...baseOptions(locale)}
23+
i18n
24+
sidebar={{ footer: <SidebarFooter /> }}
25+
>
2026
{children}
2127
</DocsLayout>
2228
);

scripts/patch-og-wasm.mjs

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)