|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- import Box from '@mui/material/Box';
- import Typography from '@mui/material/Typography';
- import Image from 'next/image';
- const pages = ['Home', 'Menu', 'About', 'Store', 'Contact'];
-
- const Footer = () => {
- return (
- <Box
- sx={{
- display: 'flex',
- width: '100%',
- height: 220,
- flexDirection: 'column',
- bottom: 0,
- position: 'relative',
- }}
- >
- <Typography
- variant="h3"
- sx={{
- width: '100%',
- textAlign: 'center',
- color: 'primary.main',
- height: 60,
- mt: 4,
- }}
- >
- Coffee Shop
- </Typography>
- <Box
- sx={{
- maxWidth: '100%',
- height: 30,
- mt: 1.5,
- display: 'flex',
- justifyContent: 'center',
- }}
- >
- {pages.map((page) => (
- <Typography
- key={page}
- sx={{
- fontSize: 20,
- fontWeight: 500,
- px: 1.5,
- color: 'primary.main',
- }}
- >
- {page}
- </Typography>
- ))}
- </Box>
- <Box
- sx={{
- display: 'flex',
- width: '100%',
- height: 40,
- mt: 4,
- justifyContent: 'center',
- }}
- >
- <Box sx={{ px: 2 }}>
- <Image
- src="/images/Instagram.svg"
- alt="cart"
- width={35}
- height={35}
- />
- </Box>
- <Box sx={{ px: 2 }}>
- <Image src="/images/Facebook.svg" alt="cart" width={35} height={35} />
- </Box>
- <Box sx={{ px: 2 }}>
- <Image src="/images/Twitter.svg" alt="cart" width={35} height={35} />
- </Box>
- </Box>
- </Box>
- );
- };
-
- export default Footer;
|