added collection page

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

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