import { IconBellRinging } from '@material-hu/icons/tabler';
import Stack from '@material-hu/mui/Stack';
import Typography from '@material-hu/mui/Typography';

import HuAvatar from '@material-hu/components/design-system/Avatar';

import { useLokaliseTranslation } from 'src/utils/i18n';

const NotificationsEmptyState = () => {
  const { t } = useLokaliseTranslation('notifications_center');

  return (
    <Stack
      sx={{
        width: '100%',
        flex: 1,
        minHeight: 280,
        p: 4,
        alignItems: 'center',
        justifyContent: 'center',
        textAlign: 'center',
      }}
    >
      <HuAvatar
        Icon={IconBellRinging}
        color="primary"
        size="large"
        sx={{ mb: 2 }}
      />
      <Typography
        variant="globalM"
        fontWeight="fontWeightSemiBold"
      >
        {t('no_notification')}
      </Typography>
      <Typography
        variant="globalXS"
        color="new.text.neutral.secondary"
        sx={{ mt: 0.5 }}
      >
        {t('no_notification_subtitle')}
      </Typography>
    </Stack>
  );
};

export default NotificationsEmptyState;
