import { Box, Card, CardContent, Typography } from '@mui/material';
import { useTranslation } from 'react-i18next';

export default function EventNotFoundCard() {
  const { t } = useTranslation();

  return (
    <Box
      sx={{
        py: 16,
        mx: 'auto',
        width: '100%',
        height: '100%',
        display: 'flex',
        justifyContent: 'center',
        alignItems: 'center',
      }}
    >
      <Typography variant='h6' textAlign={'center'}>
        {t('general.noEvent')}
      </Typography>
    </Box>
  );
}
