1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-06-29 00:58:02 +02:00

Issue-#944: Add v4 badge in header

This commit is contained in:
Akshay 2022-04-05 15:57:27 +02:00
parent 95b56577dc
commit d29383982a

View File

@ -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 }) => (