Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2441 | 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'
2441 stevensc 2
import { Box, Container, 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 (
10
    <Container>
11
      <Box
12
        display='flex'
13
        flexDirection='column'
14
        alignItems='center'
15
        justifyContent='center'
2442 stevensc 16
        minHeight='100vh'
2441 stevensc 17
      >
2442 stevensc 18
        <Box display='flex' flexDirection='column' gap={1} textAlign='center'>
2441 stevensc 19
          <Typography variant='h1'>Oops! Ha ocurrido un error</Typography>
20
          <Typography>
21
            Por favor, recarga la pagina y vuelve a intentarlo
22
          </Typography>
23
 
24
          <Button variant='primary' onClick={handleClick}>
25
            Recargar
26
          </Button>
27
        </Box>
28
      </Box>
29
    </Container>
30
  )
31
}