mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-01 15:55:34 +01:00
Merge pull request #78 from oceanprotocol/fix/api-refs
filter out API references link from main menu
This commit is contained in:
commit
ec3b0b4648
@ -39,7 +39,12 @@ const Header = () => (
|
||||
</Link>
|
||||
|
||||
<nav className={styles.headerMenu}>
|
||||
{sections.map(({ node }) => (
|
||||
{sections
|
||||
.filter(
|
||||
({ node }) =>
|
||||
node.title !== 'API References'
|
||||
)
|
||||
.map(({ node }) => (
|
||||
<Link
|
||||
key={node.title}
|
||||
to={node.link}
|
||||
|
@ -38,7 +38,8 @@
|
||||
&:last-child {
|
||||
flex-basis: 100%;
|
||||
text-align: center;
|
||||
opacity: .75;
|
||||
opacity: .5;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user