add NotFound page

This commit is contained in:
frab1t 2019-05-04 21:43:56 +02:00
parent 6941fa1141
commit d5b4605a39
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import Card from '../components/Card';
class NotFound extends Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<div>
<Card
title="404 - Page not found"
message="The page is not found."
footer={<Link to="/">Go to home</Link>}
/>
</div>
);
}
}
export default NotFound;