20 lines
408 B
JavaScript
20 lines
408 B
JavaScript
import React from 'react';
|
|
import '../static/stylesheets/globals.scss';
|
|
|
|
export const NotFoundPage = (props) => {
|
|
if (props.location.pathname === '/') {
|
|
return null;
|
|
}
|
|
return (
|
|
<div>
|
|
<div className="content-wrapper">
|
|
<h1>Uhm... WHAT?</h1>
|
|
<h2>Looks like you're lost</h2>
|
|
<p>404 Page not found</p>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default NotFoundPage;
|