File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ export function CardProduct({ product }) {
1717 initial = { { opacity : 0 , y : 30 } }
1818 whileInView = { { opacity : 1 , y : 0 } }
1919 viewport = { { once : true } }
20- transition = { { duration : 0.5 } }
20+
2121 whileHover = { { y : - 5 } }
22- className = "group relative flex flex-col items-center p-6 bg-white dark:bg-zinc-800/50 rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300 border border-zinc-200 dark:border-zinc-700 hover:border-[#00843D] dark:hover:border-yellow-400 h-full"
22+ transition = { { duration : 0.2 , ease : "easeOut" } }
23+ className = "group relative flex flex-col items-center p-6 bg-white dark:bg-zinc-800/50 rounded-2xl shadow-lg hover:shadow-xl transition-transform duration-200 border border-zinc-200 dark:border-zinc-700 hover:border-[#00843D] dark:hover:border-yellow-400 h-full"
2324 >
2425 < div className = "relative w-24 h-24 mb-4" >
2526 < Image
You can’t perform that action at this time.
0 commit comments