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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import { Box, Paper, Typography } from '@mui/material';
  2. import Image from 'next/image';
  3. const DataCard = () => {
  4. return (
  5. <Paper
  6. sx={{
  7. p: 3,
  8. width: '100%',
  9. mb: 2,
  10. backgroundColor: '#f2f2f2',
  11. display: 'flex',
  12. }}
  13. elevation={3}
  14. >
  15. <Box sx={{ width: '30%', borderRadius: 4, overflow: 'hidden' }}>
  16. <Image
  17. src="/images/coffee-mug.svg"
  18. alt="profile"
  19. width={200}
  20. height={250}
  21. />
  22. </Box>
  23. <Box
  24. sx={{ ml: 3, display: 'flex', flexDirection: 'column', width: '60%' }}
  25. >
  26. <Typography
  27. sx={{
  28. width: '100%',
  29. textAlign: 'center',
  30. height: 25,
  31. fontWeight: 600,
  32. fontSize: 20,
  33. }}
  34. >
  35. Begin Mug in White
  36. </Typography>
  37. <Typography
  38. sx={{
  39. mt: 3,
  40. fontSize: 14,
  41. }}
  42. >
  43. Simple and beautiful Begin mug. Perfect companion for your next
  44. delicious cup of coffee.
  45. </Typography>
  46. </Box>
  47. </Paper>
  48. );
  49. };
  50. export default DataCard;