| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- import { Button, Typography } from '@mui/material';
- import { Box } from '@mui/system';
- import Image from 'next/image';
-
- const Hero = () => {
- return (
- <>
- <Box sx={{ display: 'flex' }}>
- <Box
- sx={{
- width: '50%',
- height: '100%',
- display: 'flex',
- flexDirection: 'column',
- backgroundColor: 'primary.light',
- }}
- >
- <Typography
- variant="h1"
- sx={{
- ml: 10,
- mt: '30%',
- color: 'white',
- height: 100,
- }}
- >
- Its a
- </Typography>
- <Typography variant="h1" sx={{ ml: 10, color: 'white', height: 100 }}>
- {' '}
- Coffee Break
- </Typography>
- <Typography
- sx={{ mt: 6, p: 'auto', px: '10%', color: 'white', pr: '20%' }}
- >
- If you drink coffee regulary you will know the difference between
- fresh coffee and old coffee. Our goal is to provide the freshest
- coffee beans in each day.
- </Typography>
- <Box
- sx={{
- width: '100%',
- display: 'flex',
- }}
- >
- <Button
- sx={{
- backgroundColor: '#CBA213',
- height: 50,
- width: 150,
- textTransform: 'none',
- ml: 10,
- color: 'white',
- }}
- >
- {' '}
- Explore the Shop
- </Button>
- <Button
- sx={{
- height: 72,
- width: 250,
- textTransform: 'none',
- mt: -2,
- ml: 2,
- color: 'white',
- }}
- startIcon={
- <Image
- src="/images/Play.svg"
- alt="profile"
- width={72}
- height={72}
- />
- }
- >
- {' '}
- How to make
- </Button>
- </Box>
- </Box>
- <Box sx={{ width: '50%', backgroundColor: 'white' }}>
- <Box sx={{ mt: 10, ml: -12 }}>
- <Image
- src="/images/Hero-Image.png"
- alt="profile"
- width={700}
- height={600}
- />
- </Box>
- </Box>
- </Box>
- </>
- );
- };
-
- export default Hero;
|