layout.config.tsx•1.4 kB
import { Icons } from "@/components/icons";
import type { BaseLayoutProps, LinkItemType } from "fumadocs-ui/layouts/shared";
import Image from "next/image";
export const title = "OpenMCP";
export const description =
"一个针对MCP客户端、服务器和开源应用的综合导航平台。分享关于AI的开源项目、思考、创意、评论和观点。";
export const owner = "julianshuke.top";
/**
* Shared layout configurations
*
* you can customise layouts individually from:
* Home Layout: app/(home)/layout.tsx
* Docs Layout: app/docs/layout.tsx
*/
export const baseOptions: BaseLayoutProps = {
nav: {
title: (
<>
<Image
src="/avatar.png"
width={28}
height={28}
alt="聚链科技"
className="rounded-full"
/>{" "}
OpenMCP
</>
),
},
links: [
{
text: "AI百科",
url: "/docs",
},
],
};
export const linkItems: LinkItemType[] = [
{
icon: <Icons.info />,
text: "Blog",
url: "/blog",
active: "url",
},
{
icon: <Icons.info />,
text: "About",
url: "/about",
active: "url",
},
// {
// icon: <Icons.posts />,
// text: "Me",
// url: "/me",
// active: "url",
// },
// {
// icon: <Icons.tags />,
// text: "Tags",
// url: "/tags",
// active: "url",
// },
];
export const postsPerPage = 5;