diff --git a/client/src/components/FourOhFour/404.css b/client/src/components/FourOhFour/404.css index cafa692e47..ebc2607d8e 100644 --- a/client/src/components/FourOhFour/404.css +++ b/client/src/components/FourOhFour/404.css @@ -1,5 +1,5 @@ .notfound-page-wrapper { - min-height: 100%; + min-height: 100vh; display: flex; flex-direction: column; justify-content: center; diff --git a/client/src/components/FourOhFour/index.js b/client/src/components/FourOhFour/index.js index f3bb07659e..396c817223 100644 --- a/client/src/components/FourOhFour/index.js +++ b/client/src/components/FourOhFour/index.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import Helmet from 'react-helmet'; -import Spinner from 'react-spinkit'; +import { Loader, Spacer } from '../../components/helpers'; import { Link } from 'gatsby'; import notFoundLogo from '../../assets/images/freeCodeCamp-404.svg'; @@ -31,13 +31,16 @@ class NotFoundPage extends Component {
404 Not Found -

NOT FOUND

+ +

Page not found.

+ {this.state.randomQuote ? (

We couldn't find what you were looking for, but here is a quote:

+

@@ -47,8 +50,9 @@ class NotFoundPage extends Component {

) : ( - + )} + View the Curriculum