@MesrouaDjamel
Posted
congratulations for your design it's close to the proposed design i have some suggestion to propose you : The carousel : you can use material tailwinds: https://www.material-tailwind.com/docs/react/carousel it's easy to set up and the component is animated. Hover: https://tailwindcss.com/docs/fill
and use this syntax in jsx => <svg width="57” height="54” viewBox="0 0 57 54” fill="none” className="absolute left-4 top-[200px] cursor-pointer stroke-veryDarkBlue hover:stroke-orange transition-all ease-in-out duration-300” onClick={handlePrev} > <ellipse cx="28.1706” cy="27.1216” rx="28.1706” ry="26.7823” fill="#FEFFFF” stroke="none” /> <path d="M33.8049 16.4087L22.5366 27.1216L33.8049 37.8345” strokeWidth="3” /> </svg> check if the svg already has a fill or stroke and delete it
Trash: const handleDelete = () => { if (quantityToBuy === 0) { setIsAddedToCart(false); } setIsAddedToCart(false); setIsCartOpen(false); setQuantityToBuy(0); };
Translated with DeepL.com (free version)