Skip to content

Commit 0d0ab90

Browse files
Merge pull request #3 from OpenZeppelin/chore/ui-updates
chore: added links to sidebar and github icon
2 parents e3de688 + f1f3acd commit 0d0ab90

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

src/app/layout.config.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
2-
import { GithubIcon, HomeIcon } from "lucide-react";
2+
import { GlobeIcon, HomeIcon, MessagesSquareIcon } from "lucide-react";
33

44
/**
55
* Shared layout configurations
@@ -86,6 +86,7 @@ export const baseOptions: BaseLayoutProps = {
8686
</>
8787
),
8888
},
89+
githubUrl: "https://github.com/OpenZeppelin",
8990
// see https://fumadocs.dev/docs/ui/navigation/links
9091
links: [
9192
{
@@ -95,11 +96,14 @@ export const baseOptions: BaseLayoutProps = {
9596
secondary: false,
9697
},
9798
{
98-
text: "GitHub",
99-
url: "https://github.com/OpenZeppelin",
100-
icon: <GithubIcon />,
101-
// secondary items will be displayed differently on navbar
102-
secondary: false,
99+
text: "Forum",
100+
url: "https://forum.openzeppelin.com",
101+
icon: <MessagesSquareIcon />,
102+
},
103+
{
104+
text: "Website",
105+
url: "https://openzeppelin.com",
106+
icon: <GlobeIcon />,
103107
},
104108
],
105109
};

0 commit comments

Comments
 (0)