Add links to 404 and Error pages

This commit is contained in:
He4eT 2021-03-02 20:40:18 +05:00
commit 2f537a08f3
3 changed files with 18 additions and 2 deletions

View file

@ -10,6 +10,13 @@ const fail = details => (
<h1>Error</h1>
{details.map(x => (<p>{x}</p>))}
<hr />
<a href='/'>
Home
</a>
|
<a href='https://github.com/He4eT/ifplayer/issues'>
Report bug
</a>
</div>
)

View file

@ -42,7 +42,16 @@ function App () {
top100
</Route>
<Route>
404
<div>
<h1>404</h1>
<a href='/'>
Home
</a>
|
<a href='https://github.com/He4eT/ifplayer/issues'>
Report bug
</a>
</div>
</Route>
</Switch>

View file

@ -55,7 +55,7 @@ export default function ({ themeEngine }) {
</small>
<br />
<small>
Double-click on the input field during the game
Double-click the input field during the game
to enter full-screen mode.
</small>
</p>