You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Home.jsx 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import React from 'react'
  2. import { Box, Typography } from '@mui/material'
  3. import Carousel from '../components/Carousel'
  4. import ProductSelected from '../components/ProductSelected'
  5. import SocialMedia from '../components/SocialMedia'
  6. import Feature from '../components/Feature'
  7. import {Link} from '@mui/material'
  8. import KeyboardArrowRightIcon from '@mui/icons-material/KeyboardArrowRight';
  9. import KeyboardArrowLeftIcon from '@mui/icons-material/KeyboardArrowLeft';
  10. const Home = () => {
  11. return (
  12. <>
  13. <Carousel />
  14. <Box sx={{ px: 24, mb: 10 }}>
  15. <Box sx={{
  16. display: "flex",
  17. position: "relative",
  18. py: 5
  19. }}>
  20. <Box
  21. sx={{
  22. display: "flex",
  23. alignItems: "center",
  24. justifyContent: "center",
  25. mx: "auto"
  26. }}
  27. >
  28. <KeyboardArrowLeftIcon sx={{ mr: 3, color: "#B7B7B7" }} /> {/* Icon at the start */}
  29. <Typography variant="h4" sx={{ mx: "auto" }}>
  30. NEW IN
  31. </Typography>
  32. <KeyboardArrowRightIcon sx={{ ml: 3, color: "#B7B7B7" }} /> {/* Icon at the end */}
  33. </Box>
  34. <Link href="#" sx={{ position: "absolute", right: 0, textDecoration: "underline" }}>VIEW ALL</Link>
  35. </Box>
  36. <ProductSelected />
  37. <SocialMedia />
  38. <Feature />
  39. </Box>
  40. </>
  41. )
  42. }
  43. export default Home