Nav (also added faq to nav)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
|
||||
import { appName, gitConfig } from "./shared";
|
||||
import { BookIcon, HelpCircleIcon, NewspaperIcon } from "lucide-react";
|
||||
|
||||
export function baseOptions(): BaseLayoutProps {
|
||||
return {
|
||||
@@ -13,5 +14,25 @@ export function baseOptions(): BaseLayoutProps {
|
||||
),
|
||||
},
|
||||
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 />,
|
||||
},
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user