File tree Expand file tree Collapse file tree
apps/docs/src/app/docs/(docs) Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import type { Node , Root } from "fumadocs-core/page-tree" ;
2- import { Banner } from "fumadocs-ui/components/banner" ;
32import { DocsLayout } from "fumadocs-ui/layouts/docs" ;
43import { BrainCircuit , Leaf } from "lucide-react" ;
54import type { ReactNode } from "react" ;
@@ -51,32 +50,26 @@ function appendLlmLinksToNode(node: Node): Node {
5150
5251export default function Layout ( { children } : { children : ReactNode } ) {
5352 return (
54- < >
55- < Banner id = "docs-preview" variant = "rainbow" >
56- < strong > Early Preview:</ strong > 🚧 < strong > These docs are still a work in progress.</ strong >
57- 🚧 Keep checking back for updates!
58- </ Banner >
59- < DocsLayout
60- tree = { docsTree }
61- { ...baseOptions }
62- containerProps = { {
63- className : "[--fd-layout-width:100%]" ,
64- } }
65- sidebar = { {
66- footer : (
67- < div className = "mt-2 flex items-center justify-center text-muted-foreground text-xs" >
68- < p >
69- Made with ❤️ by{ " " }
70- < a className = "underline" href = "https://proof.sh" rel = "noopener" target = "_blank" >
71- Proof
72- </ a >
73- </ p >
74- </ div >
75- ) ,
76- } }
77- >
78- { children }
79- </ DocsLayout >
80- </ >
53+ < DocsLayout
54+ tree = { docsTree }
55+ { ...baseOptions }
56+ containerProps = { {
57+ className : "[--fd-layout-width:100%]" ,
58+ } }
59+ sidebar = { {
60+ footer : (
61+ < div className = "mt-2 flex items-center justify-center text-muted-foreground text-xs" >
62+ < p >
63+ Made with ❤️ by{ " " }
64+ < a className = "underline" href = "https://proof.sh" rel = "noopener" target = "_blank" >
65+ Proof
66+ </ a >
67+ </ p >
68+ </ div >
69+ ) ,
70+ } }
71+ >
72+ { children }
73+ </ DocsLayout >
8174 ) ;
8275}
You can’t perform that action at this time.
0 commit comments