first commit
This commit is contained in:
18
app/components/CustomNavbar.tsx
Normal file
18
app/components/CustomNavbar.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
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"
|
||||
/>
|
||||
);
|
||||
Reference in New Issue
Block a user