added collection page

This commit is contained in:
Jelaletdin12 committed 2025-12-15 14:33:34 +05:00
1 parent 633a3c9d47
commit e886359c5c
31 files changed
+2118 -716

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ export default function CollectionSection({ collection, locale }: Props) {
} = useCollectionProducts(collection.id);
const handleTitleClick = () => {
router.push(`/${locale}/collections/${collection.id}`);
router.push(`/collections/${collection.slug}`);
};
// Hide section if no products