Nav (also added faq to nav)

This commit is contained in:
2026-07-03 22:57:04 +02:00
parent 82151d2fa3
commit a1b09c201f
+21
View File
@@ -1,5 +1,6 @@
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared"; import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
import { appName, gitConfig } from "./shared"; import { appName, gitConfig } from "./shared";
import { BookIcon, HelpCircleIcon, NewspaperIcon } from "lucide-react";
export function baseOptions(): BaseLayoutProps { export function baseOptions(): BaseLayoutProps {
return { return {
@@ -13,5 +14,25 @@ export function baseOptions(): BaseLayoutProps {
), ),
}, },
githubUrl: `https://github.com/${gitConfig.user}/${gitConfig.repo}`, githubUrl: `https://github.com/${gitConfig.user}/${gitConfig.repo}`,
links: [
{
type: "main",
text: "Docs",
url: "/docs",
icon: <BookIcon />,
},
{
type: "main",
text: "Blog",
url: "/blog",
icon: <NewspaperIcon />,
},
{
type: "main",
text: "Faq",
url: "/feq",
icon: <HelpCircleIcon />,
},
],
}; };
} }