mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Issue-#944: Add v4 badge in header
This commit is contained in:
parent
95b56577dc
commit
d29383982a
@ -4,6 +4,7 @@ import { ReactComponent as Logo } from '@oceanprotocol/art/logo/logo.svg'
|
||||
import styles from './Header.module.scss'
|
||||
import SearchButton from './Search/SearchButton'
|
||||
import ToggleSwitch from './ToggleSwitch'
|
||||
import Badge from './@shared/atoms/Badge'
|
||||
|
||||
const query = graphql`
|
||||
query {
|
||||
@ -37,7 +38,10 @@ const Header = () => (
|
||||
<div className={styles.headerContent}>
|
||||
<Link to="/" className={styles.headerLogo}>
|
||||
<Logo className={styles.headerLogoImage} />
|
||||
<h1 className={styles.headerTitle}>{siteTitle}</h1>
|
||||
<h1 className={styles.headerTitle}>
|
||||
{siteTitle}
|
||||
<Badge label="v4" />
|
||||
</h1>
|
||||
</Link>
|
||||
<nav className={styles.headerMenu}>
|
||||
{sections.map(({ node }) => (
|
||||
|
Loading…
Reference in New Issue
Block a user