mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
NotFoundPage: use Status component
This commit is contained in:
parent
36efea1d09
commit
ae9d57fe44
2 changed files with 7 additions and 21 deletions
|
|
@ -14,7 +14,8 @@ const fail = (details) => (
|
||||||
<a
|
<a
|
||||||
target='_blank'
|
target='_blank'
|
||||||
rel='noopener noreferrer'
|
rel='noopener noreferrer'
|
||||||
href='https://github.com/He4eT/elseifplayer/issues'>
|
href='https://github.com/He4eT/elseifplayer/issues'
|
||||||
|
>
|
||||||
Report bug
|
Report bug
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,10 @@
|
||||||
import { Link } from 'wouter-preact'
|
import Status from '~/src/components/Player/Status/Status'
|
||||||
|
|
||||||
export default function NotFoundView () {
|
export default function NotFoundView () {
|
||||||
return <main>
|
return <main>
|
||||||
<div className='status'>
|
<Status
|
||||||
<h1>
|
stage='fail'
|
||||||
404
|
details={['404', 'Page Not Found']}
|
||||||
</h1>
|
/>
|
||||||
<p>
|
|
||||||
Page not found
|
|
||||||
</p>
|
|
||||||
<hr />
|
|
||||||
<Link href='/'>
|
|
||||||
Home
|
|
||||||
</Link>
|
|
||||||
|
|
|
||||||
<a
|
|
||||||
target='_blank'
|
|
||||||
rel='noopener noreferrer'
|
|
||||||
href='https://github.com/He4eT/elseifplayer/issues'>
|
|
||||||
Report bug
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</main>
|
</main>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue