-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use not found page when can't find view
style: Minor changes to search bar display
- Loading branch information
Showing
3 changed files
with
27 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import { Paths } from '@renderer/Paths'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
/** Page shown when the current URL does not point to an existing page. */ | ||
export function NotFoundPage() { | ||
return ( | ||
<div className='page-not-found'> | ||
<h1 className='page-not-found__error-number'>404</h1> | ||
<h1 className='page-not-found__title'>Page Not Found</h1> | ||
The page you were looking for is not here. | ||
<h1>You appear to have gotten lost :(</h1> | ||
<Link className='link' to={Paths.HOME}> Back to home</Link> | ||
</div> | ||
); | ||
} |
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 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