import { WatchDetail, ProductDetail, LaptopDetail, headphonesDetail} from "../Details/ProductDetail";
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";
import Slider from "react-slick";
import "./ProductSlider.css";
import { Link } from "react-router-dom";
const ProductSlider = () => {
const styles = {
container: {
backgroundColor: '#fff',
margin: '1rem'
},
titleBox: {
display: 'flex',
justifyContent: 'start',
padding: '0 5px',
alignItems: 'center'
},
h1 : {
color: 'black'
}
};
return (
<>
Today's Deals
See all deals
Today's Deals
See all deals
>
);
};
export default ProductSlider;
const ProductCardSlider = ( { Product }) => {
var settings2 = {
infinite: true,
slidesToShow: 5,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 2000,
pauseOnHover: true,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 4,
slidesToScroll: 4,
}
},
{
breakpoint: 600,
settings: {
slidesToShow: 2,
slidesToScroll: 2,
initialSlide: 2
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
}
}
]
};
return (
{Product.map((item) => (
))}
);
};
const ProductCard2 = ( { productImage, productName, id }) => {
return (
Up to 17% off
Deal of the Day
{productName}
);
};