You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ProductsHero.tsx 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import { Container, Typography } from '@mui/material';
  2. import { Box } from '@mui/system';
  3. import { useTranslation } from 'next-i18next';
  4. const ProductsHero: React.FC = () => {
  5. const { t } = useTranslation('products');
  6. return (
  7. <Box
  8. sx={{
  9. display: 'flex',
  10. flexDirection: 'column',
  11. }}
  12. >
  13. <Container
  14. maxWidth="lg"
  15. sx={{
  16. mt: 25,
  17. mb: 10,
  18. }}
  19. >
  20. <Typography
  21. fontFamily={'body1.fontFamily'}
  22. align="center"
  23. color="primary.main"
  24. mb={3}
  25. sx={{
  26. fontSize: { md: '64px', sm: '46px', xs: '32px' },
  27. }}
  28. >
  29. {t('products:title')}
  30. </Typography>
  31. <Typography
  32. sx={{ fontSize: { xs: '16px', sm: '18px', md: '24px' } }}
  33. align="center"
  34. >
  35. {t('products:description')}
  36. </Typography>
  37. </Container>
  38. </Box>
  39. );
  40. };
  41. export default ProductsHero;