mirror of
https://github.com/better-auth/better-auth.git
synced 2026-07-31 20:05:38 -05:00
20 lines
483 B
TypeScript
20 lines
483 B
TypeScript
import { DocsLayout } from "fumadocs-ui/layout";
|
|
import type { ReactNode } from "react";
|
|
import { docsOptions } from "../layout.config";
|
|
import ArticleLayout from "@/components/side-bar";
|
|
import { DocsNavBarMobile } from "@/components/nav-mobile";
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<DocsLayout
|
|
{...docsOptions}
|
|
sidebar={{
|
|
component: <ArticleLayout />,
|
|
}}
|
|
>
|
|
<DocsNavBarMobile />
|
|
{children}
|
|
</DocsLayout>
|
|
);
|
|
}
|