Skip to content

Commit c670c35

Browse files
committed
Update layout components: change import source and adjust title in baseOptions
1 parent 0b49786 commit c670c35

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/app/docs/layout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { source } from '@/lib/source';
2-
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
2+
import { DocsLayout } from 'fumadocs-ui/layouts/notebook';
33
import { baseOptions } from '@/lib/layout.shared';
4+
import type { ReactNode } from 'react';
45

5-
export default function Layout({ children }: LayoutProps<'/docs'>) {
6+
export default function Layout({ children }: { children: ReactNode }) {
67
return (
78
<DocsLayout
89
tree={source.pageTree}

src/lib/layout.shared.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
33
export function baseOptions(): BaseLayoutProps {
44
return {
55
nav: {
6-
title: 'BasisVR',
6+
title: 'BasisVR Docs',
77
transparentMode: 'top',
88
},
99
links: [

0 commit comments

Comments
 (0)