mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
Add links to 404 and Error pages
This commit is contained in:
parent
f02ec6925f
commit
2f537a08f3
3 changed files with 18 additions and 2 deletions
|
|
@ -10,6 +10,13 @@ const fail = details => (
|
||||||
<h1>Error</h1>
|
<h1>Error</h1>
|
||||||
{details.map(x => (<p>{x}</p>))}
|
{details.map(x => (<p>{x}</p>))}
|
||||||
<hr />
|
<hr />
|
||||||
|
<a href='/'>
|
||||||
|
Home
|
||||||
|
</a>
|
||||||
|
|
|
||||||
|
<a href='https://github.com/He4eT/ifplayer/issues'>
|
||||||
|
Report bug
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
11
src/index.js
11
src/index.js
|
|
@ -42,7 +42,16 @@ function App () {
|
||||||
top100
|
top100
|
||||||
</Route>
|
</Route>
|
||||||
<Route>
|
<Route>
|
||||||
404
|
<div>
|
||||||
|
<h1>404</h1>
|
||||||
|
<a href='/'>
|
||||||
|
Home
|
||||||
|
</a>
|
||||||
|
|
|
||||||
|
<a href='https://github.com/He4eT/ifplayer/issues'>
|
||||||
|
Report bug
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</Route>
|
</Route>
|
||||||
</Switch>
|
</Switch>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ export default function ({ themeEngine }) {
|
||||||
</small>
|
</small>
|
||||||
<br />
|
<br />
|
||||||
<small>
|
<small>
|
||||||
Double-click on the input field during the game
|
Double-click the input field during the game
|
||||||
to enter full-screen mode.
|
to enter full-screen mode.
|
||||||
</small>
|
</small>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue