-
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.
Merge branch 'data-api' of github.com:sushiswap/sushiswap into data-api
- Loading branch information
Showing
29 changed files
with
514 additions
and
457 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.