category_name text complated

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-02-19 11:42:37 +05:00
parent afae7da68c
commit 6e55416fe4
3 changed files with 4 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ export default function ProductCard({
const locale = useLocale();
return (
<Link href={`/${locale}/catalog_page/products/${slug}`} onClick={getProduct}>
<Link href={`/${locale}/catalog_page/products/${slug}`} onClick={getProduct} className="hover:bg-[#171616] duration-200" >
<article className="group transition-all duration-300 hover:cursor-pointer max-sm:max-w-100 max-sm:mx-auto max-sm:w-full">
{/* Image Container */}
<div className="relative rounded-2xl h-45 sm:h-55 md:h-65 lg:w-[95%] w-[90%] mx-auto overflow-hidden">
@@ -33,7 +33,7 @@ export default function ProductCard({
{/* Content Container */}
<div className="p-6 sm:p-4">
<h3 className="text-lg text-center font-unbounded font-bold text-white mb-4 line-clamp-3 group-hover:text-red-400 transition-colors duration-300">
<h3 className="text-lg text-left font-unbounded font-bold text-white mb-4 line-clamp-3 group-hover:text-red-400 transition-colors duration-300">
{title}
</h3>
</div>