mirror of
https://github.com/franjsco/tick3t
synced 2025-01-14 18:37:04 +01:00
add NotFound page
This commit is contained in:
parent
6941fa1141
commit
d5b4605a39
25
src/containers/NotFound.js
Normal file
25
src/containers/NotFound.js
Normal 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;
|
Loading…
Reference in New Issue
Block a user