Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
update menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Masha1996 committed Nov 23, 2021
1 parent 247ff87 commit 02ea8b3
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 57 deletions.
44 changes: 28 additions & 16 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,33 +64,45 @@ const config = {
]
},
{
label: 'Opensource',
label: 'Open Source',
position: 'left',
items: [
{
label: 'Grants Program',
href: '/'
label: 'Router contract',
href: '/',
},
{
label: 'Bug bounty',
href: '/'
label: 'Limit order contract',
href: '/',
},
{
label: 'Smartcontracts',
href: '/'
label: 'Off-chain oracle',
href: '/',
},
{
label: 'Web 3.0',
href: '/'
}
label: 'Multicall',
href: '/',
},
{
label: 'EIP-2612 utils library',
href: '/',
},
{
label: 'Cumulative merkle drop',
href: '/',
},
]
},
// {
// label: 'More',
// position: 'left',
// items: [
// ]
// },
{
label: 'Grants Program',
position: 'left',
href: '/'
},
{
label: 'Bug bounty',
position: 'left',
href: '/'
},
{
href: 'https://github.com/1inch',
label: 'GitHub',
Expand Down
40 changes: 0 additions & 40 deletions src/components/homepage-developer-links/HomepageDeveloperLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,46 +30,6 @@ const DeveloperList = [
</>
),
},
{
link: '',
image: (
<div className={clsx(styles.developerCardImage, styles.smartContractsImage)}/>
),
title: 'Smartcontracts',
description: (
<ul className={styles.developerCardList}>
<li>
<a className={styles.developerCardListLink} href="https://github.com/1inch/merkle-distribution">cumulative-merkle-drop</a>
</li>
<li>
<a className={styles.developerCardListLink} href="https://github.com/1inch/offchain-oracle">off-chain-oracle</a>
</li>
<li>
<a className={styles.developerCardListLink} href="https://github.com/1inch">more</a>
</li>
</ul>
),
},
{
link: '',
image: (
<div className={clsx(styles.developerCardImage, styles.web3Image)}/>
),
title: 'Web 3.0',
description: (
<ul className={styles.developerCardList}>
<li>
<a className={styles.developerCardListLink} href="https://github.com/1inch/permit-signed-approvals-utils">permit-signed-approvals-utils</a>
</li>
<li>
<a className={styles.developerCardListLink} href="https://github.com/1inch/multicall">multicall</a>
</li>
<li>
<a className={styles.developerCardListLink} href="https://github.com/1inch">more</a>
</li>
</ul>
),
}
];

function DeveloperLink({image, title, description, link}) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

.developerLinksWrap {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-columns: 1fr 1fr;
grid-column-gap: 28px;
}

Expand Down

0 comments on commit 02ea8b3

Please sign in to comment.