feat: add Not Found component
This commit is contained in:
35
src/components/NotFound.tsx
Normal file
35
src/components/NotFound.tsx
Normal file
@@ -0,0 +1,35 @@
|
||||
import { css } from '@styled-system/css'
|
||||
import type { FC } from 'react'
|
||||
import FullWidth from '@/components/layout/FullWidth'
|
||||
|
||||
const NotFoundStyle = css({
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center'
|
||||
})
|
||||
|
||||
const NotFound: FC = () => {
|
||||
return (
|
||||
<FullWidth className={NotFoundStyle}>
|
||||
<span
|
||||
className={css({
|
||||
fontSize: '100px',
|
||||
fontFamily: 'orbitron',
|
||||
fontWeight: '900',
|
||||
lineHeight: 'none',
|
||||
color: 'primary.9'
|
||||
})}
|
||||
>
|
||||
404
|
||||
</span>
|
||||
<h1 className={css({ fontSize: '45px' })}>Pagina no encontrada.</h1>
|
||||
<p>
|
||||
La pagina que estas buscando no existe o ha sido movida. Puedes volver a
|
||||
la <a href="/">pagina principal</a>, o intentar de nuevo mas tarde.
|
||||
</p>
|
||||
</FullWidth>
|
||||
)
|
||||
}
|
||||
|
||||
export default NotFound
|
||||
Reference in New Issue
Block a user