import React from 'react' import { Box, Button, Typography } from '@mui/material' import Grid from '@mui/material/Grid2'; import LocationOnIcon from '@mui/icons-material/LocationOn'; import CarouselContainer from '../components/CarouselContainer' import ProductSelected from '../components/ProductSelected' // import SocialMedia from '../components/SocialMedia' // import Feature from '../components/Feature' // import { Link } from '@mui/material' import VideoAds from '../components/VideoAds' import ProductType from '../components/ProductType'; // import NewsLetter from '../components/NewsLetter'; import ProductService from "../services/ProductService" import AmberHomeWallpaper from "../assets/images/amberHomeWallpaper.webp"; import AmberBeautyWallpaper from "../assets/images/amberBeautyWallpaper.webp"; import AmberClothing from "../assets/images/MAINHEADER-13.webp" const stores = [ { // name: "AMBER IOI STORE", // address: "IOI City Mall", name: "IOI CITY MALL", address: "G-67 IOI CITY MALL, PUTRAJAYA", image: "/AMBERIOISTORE.jpeg", directionUrl: "https://www.google.com/maps/search/?api=1&query=IOI%20City%20Mall%20Putrajaya" }, { // name: "AMBER SWM STORE", // address: "Wangsa Walk Mall", name: "WANGSA WALK MALL", address: "LOT G-77, WANGSA WALK MALL, KUALA LUMPUR", image: "/AMBERSWMSTORE.jpeg", directionUrl: "https://www.google.com/maps/search/?api=1&query=AMBER%20Wangsa%20Walk%20Mall" } ] const Home = () => { React.useEffect(()=>{ ProductService.getProducts(); },[]) return ( <> {/* */} {/* */} {/* */} {/* */} FIND US {stores.map(({ name, address, image, directionUrl }) => ( {name} {address} ))} ) } export default Home