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