Logo
This commit is contained in:
@@ -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}`,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user