mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
34 lines
676 B
TypeScript
34 lines
676 B
TypeScript
import {
|
|
DocsNavbarMobileBtn,
|
|
DocsNavbarMobileTitle,
|
|
} from "@/components/nav-mobile";
|
|
import { changelogs, source } from "@/lib/source";
|
|
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">
|
|
<DocsNavbarMobileTitle />
|
|
<DocsNavbarMobileBtn />
|
|
</div>
|
|
),
|
|
},
|
|
links: [
|
|
{
|
|
text: "Documentation",
|
|
url: "/docs",
|
|
active: "nested-url",
|
|
},
|
|
],
|
|
};
|
|
|
|
export const docsOptions = {
|
|
...baseOptions,
|
|
tree: source.pageTree,
|
|
};
|
|
export const changelogOptions = {
|
|
...baseOptions,
|
|
tree: changelogs.pageTree,
|
|
};
|