1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

meta title

This commit is contained in:
Matthias Kretschmann 2018-11-11 02:32:13 +01:00
parent 11987e3e63
commit 81395e5fd1
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 30 additions and 25 deletions

View File

@ -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&#39;t exist... the You just hit a route that doesn&#39;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>
</>
) )
} }
} }

View File

@ -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;