import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared'; import { appName, gitConfig } from './shared'; import { ArrowUpRight } from 'lucide-react'; const githubUrl = `https://github.com/${gitConfig.user}/${gitConfig.repo}`; const qqUrl = 'https://qm.qq.com/q/DFnKzZ807u'; export function baseOptions(): BaseLayoutProps { return { nav: { title: ( {appName} {appName} ), }, links: [ { text: '文档导航', url: '/docs/overview/quick-start', on: 'nav', }, { text: ( 在线体验 ), url: 'https://canvas.best/', external: true, on: 'nav', }, { type: 'icon', text: 'GitHub', label: 'GitHub', url: githubUrl, external: true, on: 'menu', icon: , }, { type: 'icon', text: 'QQ', label: 'QQ', url: qqUrl, external: true, on: 'menu', icon: , }, ], }; }