Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2442 | Ir a la última revisión | | Ultima modificación | Ver Log |

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