Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. import Box from '@mui/material/Box';
  2. import Typography from '@mui/material/Typography';
  3. import Image from 'next/image';
  4. const pages = ['Home', 'Menu', 'About', 'Store', 'Contact'];
  5. const Footer = () => {
  6. return (
  7. <Box
  8. sx={{
  9. display: 'flex',
  10. width: '100%',
  11. height: 220,
  12. flexDirection: 'column',
  13. bottom: 0,
  14. position: 'relative',
  15. }}
  16. >
  17. <Typography
  18. variant="h3"
  19. sx={{
  20. width: '100%',
  21. textAlign: 'center',
  22. color: 'primary.main',
  23. height: 60,
  24. mt: 4,
  25. }}
  26. >
  27. Coffee Shop
  28. </Typography>
  29. <Box
  30. sx={{
  31. maxWidth: '100%',
  32. height: 30,
  33. mt: 1.5,
  34. display: 'flex',
  35. justifyContent: 'center',
  36. }}
  37. >
  38. {pages.map((page) => (
  39. <Typography
  40. key={page}
  41. sx={{
  42. fontSize: 20,
  43. fontWeight: 500,
  44. px: 1.5,
  45. color: 'primary.main',
  46. }}
  47. >
  48. {page}
  49. </Typography>
  50. ))}
  51. </Box>
  52. <Box
  53. sx={{
  54. display: 'flex',
  55. width: '100%',
  56. height: 40,
  57. mt: 4,
  58. justifyContent: 'center',
  59. }}
  60. >
  61. <Box sx={{ px: 2 }}>
  62. <Image
  63. src="/images/Instagram.svg"
  64. alt="cart"
  65. width={35}
  66. height={35}
  67. />
  68. </Box>
  69. <Box sx={{ px: 2 }}>
  70. <Image src="/images/Facebook.svg" alt="cart" width={35} height={35} />
  71. </Box>
  72. <Box sx={{ px: 2 }}>
  73. <Image src="/images/Twitter.svg" alt="cart" width={35} height={35} />
  74. </Box>
  75. </Box>
  76. </Box>
  77. );
  78. };
  79. export default Footer;