Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions src/app/layout.config.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
import { GithubIcon, HomeIcon } from "lucide-react";
import { GlobeIcon, HomeIcon, MessagesSquareIcon } from "lucide-react";

/**
* Shared layout configurations
Expand Down Expand Up @@ -86,6 +86,7 @@ export const baseOptions: BaseLayoutProps = {
</>
),
},
githubUrl: "https://github.com/OpenZeppelin",
// see https://fumadocs.dev/docs/ui/navigation/links
links: [
{
Expand All @@ -95,11 +96,14 @@ export const baseOptions: BaseLayoutProps = {
secondary: false,
},
{
text: "GitHub",
url: "https://github.com/OpenZeppelin",
icon: <GithubIcon />,
// secondary items will be displayed differently on navbar
secondary: false,
text: "Forum",
url: "https://forum.openzeppelin.com",
icon: <MessagesSquareIcon />,
},
{
text: "Website",
url: "https://openzeppelin.com",
icon: <GlobeIcon />,
},
],
};