vreadCrumb added
This commit is contained in:
@@ -84,8 +84,8 @@ export default function CatalogCard({
|
||||
};
|
||||
|
||||
const navigateLink = have_sub_category
|
||||
? `/${locale}/subCategory?category=${id}`
|
||||
: `/${locale}/products?category=${id}`;
|
||||
? `/${locale}/catalog_page/subCategory?category=${id}`
|
||||
: `/${locale}/catalog_page/products?category=${id}`;
|
||||
|
||||
return (
|
||||
<Link
|
||||
|
||||
@@ -18,7 +18,7 @@ export default function ProductCard({
|
||||
const locale = useLocale();
|
||||
|
||||
return (
|
||||
<Link href={`/${locale}/products/${slug}`} onClick={getProduct}>
|
||||
<Link href={`/${locale}/catalog_page/products/${slug}`} onClick={getProduct}>
|
||||
<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">
|
||||
|
||||
Reference in New Issue
Block a user