mirror of https://github.com/franjsco/tick3t
add NotFound page
This commit is contained in:
parent
6941fa1141
commit
d5b4605a39
|
@ -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;
|
Loading…
Reference in New Issue