-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c6415a
commit a375ef1
Showing
5 changed files
with
175 additions
and
105 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import { | ||
type NavigationElement, | ||
NavigationElementDropdown, | ||
NavigationElementType, | ||
NavigationMenuLink, | ||
OnramperButton, | ||
navigationMenuTriggerStyle, | ||
} from '@sushiswap/ui' | ||
import { EXPLORE_NAVIGATION_LINKS } from 'src/app/_common/header-elements' | ||
|
||
const MORE_NAVIGATION_LINKS: NavigationElementDropdown['items'] = [ | ||
{ | ||
title: 'Pay', | ||
href: 'https://pay.sushi.com', | ||
description: | ||
'Stream or create a vesting schedule with any ERC20 to any wallet.', | ||
}, | ||
{ | ||
title: 'Bonds', | ||
href: 'https://sushi.com/bonds', | ||
description: | ||
'Buy discounted tokens with vesting to support projects in a sustainable manner.', | ||
}, | ||
] | ||
|
||
export const headerElements: NavigationElement[] = [ | ||
{ | ||
title: 'Explore', | ||
items: EXPLORE_NAVIGATION_LINKS, | ||
show: 'mobile', | ||
type: NavigationElementType.Dropdown, | ||
}, | ||
{ | ||
title: 'Swap', | ||
href: '/swap', | ||
show: 'desktop', | ||
type: NavigationElementType.Single, | ||
}, | ||
{ | ||
title: 'Pools', | ||
href: '/explore/pool', | ||
show: 'desktop', | ||
type: NavigationElementType.Single, | ||
}, | ||
{ | ||
title: 'Stake', | ||
href: '/stake', | ||
show: 'desktop', | ||
type: NavigationElementType.Single, | ||
}, | ||
{ | ||
type: NavigationElementType.Custom, | ||
item: ( | ||
<OnramperButton> | ||
<NavigationMenuLink className={navigationMenuTriggerStyle}> | ||
Buy Crypto | ||
</NavigationMenuLink> | ||
</OnramperButton> | ||
), | ||
show: 'desktop', | ||
}, | ||
{ | ||
title: 'More', | ||
items: MORE_NAVIGATION_LINKS, | ||
show: 'desktop', | ||
type: NavigationElementType.Dropdown, | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.