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 styles from './Header.module.scss'
|
||||||
import SearchButton from './Search/SearchButton'
|
import SearchButton from './Search/SearchButton'
|
||||||
import ToggleSwitch from './ToggleSwitch'
|
import ToggleSwitch from './ToggleSwitch'
|
||||||
|
import Badge from './@shared/atoms/Badge'
|
||||||
|
|
||||||
const query = graphql`
|
const query = graphql`
|
||||||
query {
|
query {
|
||||||
@ -37,7 +38,10 @@ const Header = () => (
|
|||||||
<div className={styles.headerContent}>
|
<div className={styles.headerContent}>
|
||||||
<Link to="/" className={styles.headerLogo}>
|
<Link to="/" className={styles.headerLogo}>
|
||||||
<Logo className={styles.headerLogoImage} />
|
<Logo className={styles.headerLogoImage} />
|
||||||
<h1 className={styles.headerTitle}>{siteTitle}</h1>
|
<h1 className={styles.headerTitle}>
|
||||||
|
{siteTitle}
|
||||||
|
<Badge label="v4" />
|
||||||
|
</h1>
|
||||||
</Link>
|
</Link>
|
||||||
<nav className={styles.headerMenu}>
|
<nav className={styles.headerMenu}>
|
||||||
{sections.map(({ node }) => (
|
{sections.map(({ node }) => (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user