mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-08 04:19:25 +00:00
27 lines
555 B
TypeScript
27 lines
555 B
TypeScript
import { source } from "@/app/source";
|
|
import { DocsNavbarMobileBtn } from "@/components/nav-mobile";
|
|
import { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
|
|
|
|
export const baseOptions: BaseLayoutProps = {
|
|
nav: {
|
|
component: (
|
|
<div className="flex items-center justify-between py-4 px-2.5 md:hidden">
|
|
<p className="">Docs</p>
|
|
<DocsNavbarMobileBtn />
|
|
</div>
|
|
),
|
|
},
|
|
links: [
|
|
{
|
|
text: "Documentation",
|
|
url: "/docs",
|
|
active: "nested-url",
|
|
},
|
|
],
|
|
};
|
|
|
|
export const docsOptions = {
|
|
...baseOptions,
|
|
tree: source.pageTree,
|
|
};
|