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