Skip to content

Commit 80bb67a

Browse files
committed
remove preview banner
1 parent 29a6ed2 commit 80bb67a

1 file changed

Lines changed: 21 additions & 28 deletions

File tree

apps/docs/src/app/docs/(docs)/layout.tsx

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { Node, Root } from "fumadocs-core/page-tree";
2-
import { Banner } from "fumadocs-ui/components/banner";
32
import { DocsLayout } from "fumadocs-ui/layouts/docs";
43
import { BrainCircuit, Leaf } from "lucide-react";
54
import type { ReactNode } from "react";
@@ -51,32 +50,26 @@ function appendLlmLinksToNode(node: Node): Node {
5150

5251
export default function Layout({ children }: { children: ReactNode }) {
5352
return (
54-
<>
55-
<Banner id="docs-preview" variant="rainbow">
56-
<strong>Early Preview:</strong>&nbsp;🚧&nbsp;<strong>These docs are still a work in progress.</strong>
57-
&nbsp;🚧&nbsp;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
}

0 commit comments

Comments
 (0)