-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 404 page for deleted article access
- Loading branch information
Dasgupta, Smarajit
authored and
Dasgupta, Smarajit
committed
Dec 19, 2017
1 parent
ed4e182
commit 9f209f6
Showing
4 changed files
with
29 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React, { Component } from 'react' | ||
import { Link } from 'react-router-dom' | ||
|
||
class NotFound extends Component { | ||
|
||
render() { | ||
return ( | ||
<div className="not-found"> | ||
<h3>404 page not found</h3> | ||
<p>We are sorry but there is nothing to see here.</p> | ||
<Link to="/"> | ||
Go to home. | ||
</Link> | ||
</div> | ||
) | ||
} | ||
} | ||
|
||
export default NotFound |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters