Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | import React from "react"; import Image from "next/image"; const featureData = [ { img: "/images/icons/icon-01.svg", title: "Free Shipping", description: "For all orders $200"}, { img: "/images/icons/icon-02.svg", title: "1 & 1 Returns", description: "Cancellation after 1 day"}, { img: "/images/icons/icon-03.svg", title: "100% Secure Payments", description: "Gurantee secure payments"}, { img: "/images/icons/icon-04.svg", title: "24/7 Dedicated Support", description: "Anywhere & anytime"}, ]; const HeroFeature = () => { return ( <div className="max-w-[1060px] w-full mx-auto px-4 sm:px-8 xl:px-0"> <div className="flex flex-wrap items-center gap-7.5 xl:gap-12.5 mt-10"> {featureData.map((item, key) => ( <div className="flex items-center gap-4" key={key}> <Image src={item.img} alt="icons" width={40} height={41} /> <div> <h3 className="font-medium text-lg text-dark dark:text-gray-100">{item.title}</h3> <p className="text-sm dark:text-gray-300">{item.description}</p> </div> </div> ))} </div> </div> ); }; export default HeroFeature; |