Files
2026-07-13 12:28:53 +08:00

25 lines
585 B
TypeScript

import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
import Image from 'next/image';
import { appName, gitConfig } from './shared';
export function baseOptions(): BaseLayoutProps {
return {
nav: {
title: (
<>
<Image
src="/open-slide.png"
alt=""
aria-hidden
width={24}
height={24}
className="h-6 w-6 rounded-[4px]"
/>
<span>{appName}</span>
</>
),
},
githubUrl: `https://github.com/${gitConfig.user}/${gitConfig.repo}`,
};
}