import React, { useEffect, useState } from "react"; import { Link } from "react-router-dom"; import separate from "../../utils/separate"; import StarRating from "../StarRating"; import ReactTooltip from "react-tooltip"; //assets import videoImage1 from "./videoImages/image-1.svg"; import videoImage2 from "./videoImages/image-2.svg"; import videoImage3 from "./videoImages/image-3.svg"; import videoImage4 from "./videoImages/image-4.svg"; import videoImage5 from "./videoImages/image-5.svg"; import videoImage6 from "./videoImages/image-6.svg"; import watermelon from "./watermelon.png"; // import video from "./danovin.mp4"; import discountImg from "./discount.png"; import heart from "./vuesax-linear-heart.svg"; import YellowDotIcon from "./yellowDotIcon.svg"; import RedDotIcon from "./redDotIcon.svg"; import PurpleDotIcon from "./purpleDotIcon.svg"; import LightBlueDotIcon from "./lightBlueDotIcon.svg"; import whitePlayIcon from "./white-play-button-icon.svg"; import { book } from "../../redux/actions"; const videoImages = [ videoImage1, videoImage2, videoImage3, videoImage4, videoImage5, videoImage6, ]; const VodProduct = ({ video, index, productColor, likeBtn, discountPricePercent, discountPrice, productContent, star, productTags, priceDirection, priceHolder, rangeHolder, priceTitle, addToCartHolder, priceStarHolder, priceStarAlignment, rangeWidth, price, height, grades, // minHeight, }) => { const [progressFlag, setProgressFlag] = useState(false); useEffect(() => { setTimeout(() => { setProgressFlag(true); }, 1000); }); return ( <>
23 %
این کتاب شامل گلدان و گیاه و خاک می باشد و همچنین آپشن های خوب دیگری نیز دارد.
)}{separate(video?.product[2]?.price) + " "} تومان