category_name text complated
This commit is contained in:
@@ -18,7 +18,7 @@ export default function ProductCard({
|
|||||||
const locale = useLocale();
|
const locale = useLocale();
|
||||||
|
|
||||||
return (
|
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">
|
<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 */}
|
{/* Image Container */}
|
||||||
<div className="relative rounded-2xl h-45 sm:h-55 md:h-65 lg:w-[95%] w-[90%] mx-auto overflow-hidden">
|
<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 */}
|
{/* Content Container */}
|
||||||
<div className="p-6 sm:p-4">
|
<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}
|
{title}
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -330,6 +330,7 @@
|
|||||||
"products": "Products",
|
"products": "Products",
|
||||||
"contact": "Contact",
|
"contact": "Contact",
|
||||||
"blog": "Blog",
|
"blog": "Blog",
|
||||||
|
"catalog_page": "Products",
|
||||||
"fire-safety": "Fire Safety",
|
"fire-safety": "Fire Safety",
|
||||||
"fire-alarm": "Fire Alarm",
|
"fire-alarm": "Fire Alarm",
|
||||||
"fire-suppression": "Fire Suppression",
|
"fire-suppression": "Fire Suppression",
|
||||||
|
|||||||
@@ -330,6 +330,7 @@
|
|||||||
"products": "Продукция",
|
"products": "Продукция",
|
||||||
"contact": "Контакты",
|
"contact": "Контакты",
|
||||||
"blog": "Блог",
|
"blog": "Блог",
|
||||||
|
"catalog_page": "Товары",
|
||||||
"fire-safety": "Пожарная безопасность",
|
"fire-safety": "Пожарная безопасность",
|
||||||
"fire-alarm": "Пожарная сигнализация",
|
"fire-alarm": "Пожарная сигнализация",
|
||||||
"fire-suppression": "Пожаротушение",
|
"fire-suppression": "Пожаротушение",
|
||||||
|
|||||||
Reference in New Issue
Block a user