Skip to content

Commit

Permalink
feat: add Grants item on DAO menu (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pejosonic authored Nov 28, 2023
1 parent 63662d1 commit 2fcf8de
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export type NavbarI18N = {
overview: React.ReactNode
governance: React.ReactNode
transparency: React.ReactNode
grants: React.ReactNode
}
blog: React.ReactNode
builder: {
Expand Down Expand Up @@ -132,7 +133,8 @@ export class Navbar extends React.PureComponent<NavbarProps, NavbarState> {
main: 'DAO',
overview: 'Overview',
governance: 'Governance',
transparency: 'Transparency'
transparency: 'Transparency',
grants: 'Grants'
},
blog: 'Blog',
builder: {
Expand Down Expand Up @@ -436,6 +438,14 @@ export class Navbar extends React.PureComponent<NavbarProps, NavbarState> {
>
{i18n.menu.dao.transparency}
</Menu.Item>
<Menu.Item
href={`${config.get('DAO_URL')}/grants`}
onMouseDown={(e: React.MouseEvent) =>
this.handleClickMenuOption(e, `${NavbarPages.DAO}_grants`)
}
>
{i18n.menu.dao.grants}
</Menu.Item>
</Menu>
</Menu.Item>
)
Expand Down

0 comments on commit 2fcf8de

Please sign in to comment.