This commit is contained in:
2026-05-11 03:31:31 +02:00
parent 66f3251482
commit 2b3da35889
2 changed files with 21 additions and 3 deletions
+8 -3
View File
@@ -1,11 +1,16 @@
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
import { appName, gitConfig } from './shared';
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
import { appName, gitConfig } from "./shared";
export function baseOptions(): BaseLayoutProps {
return {
nav: {
// JSX supported
title: appName,
title: (
<div className="flex gap-2 items-center">
<img src="/logo.svg" alt="Logo" className="w-7 h-7" />
{appName}
</div>
),
},
githubUrl: `https://github.com/${gitConfig.user}/${gitConfig.repo}`,
};