mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
meta title
This commit is contained in:
parent
11987e3e63
commit
81395e5fd1
@ -6,6 +6,7 @@ import React, { Component } from 'react'
|
|||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { Link } from 'gatsby'
|
import { Link } from 'gatsby'
|
||||||
import giphyAPI from 'giphy-js-sdk-core'
|
import giphyAPI from 'giphy-js-sdk-core'
|
||||||
|
import Helmet from 'react-helmet'
|
||||||
import Layout from '../components/Layout'
|
import Layout from '../components/Layout'
|
||||||
import Content from '../components/Content'
|
import Content from '../components/Content'
|
||||||
import styles from './404.module.scss'
|
import styles from './404.module.scss'
|
||||||
@ -43,16 +44,18 @@ export default class NotFoundPage extends Component {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
|
<Helmet title="404 - Not Found" />
|
||||||
<Layout location={this.props.location}>
|
<Layout location={this.props.location}>
|
||||||
<Content>
|
<Content>
|
||||||
<article className={styles.content}>
|
<article className={styles.content}>
|
||||||
<h1>Page not found.</h1>
|
<h1>Page not found.</h1>
|
||||||
<p>
|
<p>
|
||||||
You just hit a route that doesn't exist... the
|
You just hit a route that doesn't exist...
|
||||||
sadness. Check your url,{' '}
|
the sadness. Check your url,{' '}
|
||||||
<Link to={'/'}>go back to the homepage</Link>, or
|
<Link to={'/'}>go back to the homepage</Link>,
|
||||||
check out some <em>{tag}</em> gifs, entirely your
|
or check out some <em>{tag}</em> gifs, entirely
|
||||||
choice.
|
your choice.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<video
|
<video
|
||||||
@ -70,6 +73,7 @@ export default class NotFoundPage extends Component {
|
|||||||
</article>
|
</article>
|
||||||
</Content>
|
</Content>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
video {
|
video {
|
||||||
|
margin-top: $spacer;
|
||||||
margin-bottom: $spacer;
|
margin-bottom: $spacer;
|
||||||
display: block;
|
display: block;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
Loading…
Reference in New Issue
Block a user