Skip to content

Commit

Permalink
Updated 404
Browse files Browse the repository at this point in the history
  • Loading branch information
v4iv committed Apr 1, 2018
1 parent c1a778a commit cad44a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/
const config = require("./meta/config");

const pathPrefix = config.pathPrefix === "/" ? "" : config.pathPrefix;

module.exports = {
siteMetadata: {
title: config.siteTitle,
Expand Down
9 changes: 6 additions & 3 deletions src/pages/404.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@ import React from 'react'

const NotFoundPage = () => (
<div>
<section className="hero is-primary is-bold">
<section className="hero is-primary is-bold is-large">
<div className="hero-body">
<div className="container">
<div className="columns">
<div className="column is-10 is-offset-1">
<div className="section">
<div className="section is-centered">
<h1 className="title">
404: NOT FOUND
</h1>
<h2 className="subtitle">
You just hit a route that doesn&#39;t exist... the
sadness.
</h2>
</div>
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
</div>
</div>
</div>
Expand Down

0 comments on commit cad44a8

Please sign in to comment.