custom error pages
This commit is contained in:
parent
5750537cbd
commit
f4006686d9
|
@ -0,0 +1,12 @@
|
||||||
|
import Image from 'next/image'
|
||||||
|
import LayoutCenter from '../components/layout-center'
|
||||||
|
import styles from '../styles/404.module.css'
|
||||||
|
|
||||||
|
export default function fourZeroFour () {
|
||||||
|
return (
|
||||||
|
<LayoutCenter>
|
||||||
|
<Image width='500' height='376' src='/maze.gif' />
|
||||||
|
<h1 className={styles.fourZeroFour}><span>404</span><span className={styles.notFound}>page not found</span></h1>
|
||||||
|
</LayoutCenter>
|
||||||
|
)
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
import Image from 'next/image'
|
||||||
|
import LayoutCenter from '../components/layout-center'
|
||||||
|
import styles from '../styles/404.module.css'
|
||||||
|
|
||||||
|
export default function fourZeroFour () {
|
||||||
|
return (
|
||||||
|
<LayoutCenter>
|
||||||
|
<Image width='500' height='375' src='/falling.gif' />
|
||||||
|
<h1 className={styles.fourZeroFour}><span>500</span><span className={styles.notFound}>server error</span></h1>
|
||||||
|
</LayoutCenter>
|
||||||
|
)
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 254 KiB |
Binary file not shown.
After Width: | Height: | Size: 203 KiB |
|
@ -0,0 +1,13 @@
|
||||||
|
.fourZeroFour {
|
||||||
|
font-family: 'lightning';
|
||||||
|
font-size: 96px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 1rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notFound {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
Loading…
Reference in New Issue