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 { Link } from 'gatsby'
|
||||
import giphyAPI from 'giphy-js-sdk-core'
|
||||
import Helmet from 'react-helmet'
|
||||
import Layout from '../components/Layout'
|
||||
import Content from '../components/Content'
|
||||
import styles from './404.module.scss'
|
||||
@ -43,33 +44,36 @@ export default class NotFoundPage extends Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<Layout location={this.props.location}>
|
||||
<Content>
|
||||
<article className={styles.content}>
|
||||
<h1>Page not found.</h1>
|
||||
<p>
|
||||
You just hit a route that doesn't exist... the
|
||||
sadness. Check your url,{' '}
|
||||
<Link to={'/'}>go back to the homepage</Link>, or
|
||||
check out some <em>{tag}</em> gifs, entirely your
|
||||
choice.
|
||||
</p>
|
||||
<>
|
||||
<Helmet title="404 - Not Found" />
|
||||
<Layout location={this.props.location}>
|
||||
<Content>
|
||||
<article className={styles.content}>
|
||||
<h1>Page not found.</h1>
|
||||
<p>
|
||||
You just hit a route that doesn't exist...
|
||||
the sadness. Check your url,{' '}
|
||||
<Link to={'/'}>go back to the homepage</Link>,
|
||||
or check out some <em>{tag}</em> gifs, entirely
|
||||
your choice.
|
||||
</p>
|
||||
|
||||
<video
|
||||
className="gif"
|
||||
src={this.state.gif}
|
||||
autoPlay
|
||||
loop
|
||||
/>
|
||||
<video
|
||||
className="gif"
|
||||
src={this.state.gif}
|
||||
autoPlay
|
||||
loop
|
||||
/>
|
||||
|
||||
<div>
|
||||
<button
|
||||
onClick={this.handleClick}
|
||||
>{`Get another ${tag} gif`}</button>
|
||||
</div>
|
||||
</article>
|
||||
</Content>
|
||||
</Layout>
|
||||
<div>
|
||||
<button
|
||||
onClick={this.handleClick}
|
||||
>{`Get another ${tag} gif`}</button>
|
||||
</div>
|
||||
</article>
|
||||
</Content>
|
||||
</Layout>
|
||||
</>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -6,6 +6,7 @@
|
||||
text-align: center;
|
||||
|
||||
video {
|
||||
margin-top: $spacer;
|
||||
margin-bottom: $spacer;
|
||||
display: block;
|
||||
width: auto;
|
||||
|
Loading…
Reference in New Issue
Block a user