import { IconCalendarEvent } from '@material-hu/icons/tabler';
import Stack from '@material-hu/mui/Stack';
import { type Theme } from '@material-hu/mui/styles';
import Typography from '@material-hu/mui/Typography';

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

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

const RestDayCard = () => {
  const { t } = useLokaliseTranslation('time_tracker');

  return (
    <HuCardContainer fullWidth>
      <Stack
        sx={{
          flexDirection: 'row',
          alignItems: 'center',
          gap: 1.5,
        }}
      >
        <HuAvatar
          Icon={IconCalendarEvent}
          color="primary"
        />
        <Typography
          variant="globalS"
          sx={{
            color: ({ palette }: Theme) => palette.new.text.neutral.default,
            fontWeight: 'semiBold',
          }}
        >
          {t('day_off')}
        </Typography>
      </Stack>
    </HuCardContainer>
  );
};

export default RestDayCard;
