Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2806 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
2442 stevensc 1
import React from 'react'
2806 stevensc 2
import { Box, Typography } from '@mui/material'
2442 stevensc 3
 
2441 stevensc 4
import Button from '@app/components/UI/buttons/Buttons'
5
 
6
export default function ErrorPage() {
7
  const handleClick = () => window.location.reload()
8
 
9
  return (
2806 stevensc 10
    <Box
11
      display='flex'
12
      flexDirection='column'
13
      alignItems='center'
14
      justifyContent='center'
15
      minHeight='100vh'
16
    >
17
      <Box display='flex' flexDirection='column' gap={1} textAlign='center'>
18
        <Typography variant='h1'>Oops! Ha ocurrido un error</Typography>
19
        <Typography>
20
          Por favor, recarga la pagina y vuelve a intentarlo
21
        </Typography>
2441 stevensc 22
 
3156 stevensc 23
        <Button color='primary' onClick={handleClick}>
2806 stevensc 24
          Recargar
25
        </Button>
2441 stevensc 26
      </Box>
2806 stevensc 27
    </Box>
2441 stevensc 28
  )
29
}