Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. import { Container, Typography } from '@mui/material';
  2. import { Box } from '@mui/system';
  3. import Image from 'next/image';
  4. import FeatureItem from './FeatureItem';
  5. import items from './items';
  6. const Features = () => {
  7. return (
  8. <>
  9. <Box
  10. sx={{
  11. display: 'flex',
  12. width: '100%',
  13. height: {
  14. xs: '100%',
  15. sm: '100%',
  16. },
  17. flexDirection: 'column',
  18. paddingBottom: '50px',
  19. }}
  20. >
  21. <Container
  22. sx={{
  23. width: '100%',
  24. height: 140,
  25. }}
  26. >
  27. <Typography
  28. variant="h1"
  29. sx={{
  30. fontSize: { xs: '36px', sm: '48px', md: '64px', lg: '86px' },
  31. color: 'primary.main',
  32. textAlign: 'center',
  33. mt: 5,
  34. }}
  35. >
  36. Natural coffee
  37. </Typography>
  38. </Container>
  39. <Container
  40. sx={{
  41. width: '100%',
  42. textAlign: 'center',
  43. height: 60,
  44. }}
  45. >
  46. <Image src="/images/line.svg" alt="profile" width={150} height={50} />
  47. <Image
  48. src="/images/coffee-beans-icon.svg"
  49. alt="profile"
  50. width={100}
  51. height={50}
  52. />
  53. <Image src="/images/line.svg" alt="profile" width={150} height={50} />
  54. </Container>
  55. <Box
  56. sx={{
  57. display: 'flex',
  58. flexDirection: { xs: 'column', lg: 'row' },
  59. width: '100%',
  60. height: '100%',
  61. }}
  62. >
  63. {items.map((item) => (
  64. <FeatureItem
  65. key={item.id}
  66. image={item.image}
  67. alt={item.alt}
  68. description={item.description}
  69. />
  70. ))}
  71. </Box>
  72. </Box>
  73. </>
  74. );
  75. };
  76. export default Features;