mirror of
https://github.com/franjsco/tick3t
synced 2024-12-27 09:53:37 +01:00
refactor: PageNotFound component
This commit is contained in:
parent
bf41042ac0
commit
d650249972
@ -1,25 +1,18 @@
|
||||
import React, { Component } from 'react';
|
||||
import React from 'react';
|
||||
import Card from '../components/Card';
|
||||
|
||||
class PageNotFound extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this.state = {};
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<Card
|
||||
title="404 - Page not found"
|
||||
footerLink={{path:"/", name:"Back to home"}}
|
||||
>
|
||||
<p>The page is not found</p>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
const PageNotFound = (props) => {
|
||||
return (
|
||||
<div>
|
||||
<Card
|
||||
title="404 - Page not found"
|
||||
footerLink={{path:"/", name:"Back to home"}}
|
||||
>
|
||||
<p>The page is not found</p>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default PageNotFound;
|
Loading…
Reference in New Issue
Block a user