19 lines
631 B
TypeScript
19 lines
631 B
TypeScript
import { Navbar } from "nextra-theme-docs";
|
|
import { DiscordIcon } from "nextra/icons";
|
|
import { Logo } from "./Logo";
|
|
import { CustomGiteaIcon } from "./icons/CustomGiteaIcon";
|
|
import { CustomGitHubIcon } from "./icons/CustomGitHubIcon";
|
|
import { CustomGiteeIcon } from "./icons/CustomGiteeIcon";
|
|
|
|
export const CustomNavbar = () => (
|
|
<Navbar
|
|
logo={<Logo />}
|
|
logoLink="/"
|
|
projectLink="https://gitea.shenjianl.cn/shenjianZ/nextra-docs-template"
|
|
projectIcon={<CustomGiteaIcon />}
|
|
chatLink="https://discord.gg/your-server"
|
|
chatIcon={<DiscordIcon />}
|
|
align="right"
|
|
/>
|
|
);
|