From d39c2cb0399a1c0a949aea5f3d348c8965f9ae55 Mon Sep 17 00:00:00 2001 From: Bello Babakolo Date: Thu, 18 Jan 2024 14:43:05 +0100 Subject: [PATCH] Add product category service and its filter --- .../navigation/navigation.component.html | 13 ++++-- .../navigation/navigation.component.ts | 10 ++++- .../product-gallery.component.html | 0 .../product-gallery.component.scss | 0 .../product-gallery.component.ts | 0 .../product-info/product-info.component.html | 0 .../product-info/product-info.component.scss | 0 .../product-info/product-info.component.ts | 0 .../components/products/products.component.ts | 2 +- .../shoes-products.component.html | 6 ++- src/app/features/products/products.module.ts | 4 +- .../services/product-category.service.ts | 45 +++++++++++++++++++ .../products/services/product.service.ts | 5 +-- 13 files changed, 72 insertions(+), 13 deletions(-) rename src/app/features/products/components/{product-main => }/product-gallery/product-gallery.component.html (100%) rename src/app/features/products/components/{product-main => }/product-gallery/product-gallery.component.scss (100%) rename src/app/features/products/components/{product-main => }/product-gallery/product-gallery.component.ts (100%) rename src/app/features/products/components/{product-main => }/product-info/product-info.component.html (100%) rename src/app/features/products/components/{product-main => }/product-info/product-info.component.scss (100%) rename src/app/features/products/components/{product-main => }/product-info/product-info.component.ts (100%) create mode 100644 src/app/features/products/services/product-category.service.ts diff --git a/src/app/core/components/navigation/navigation.component.html b/src/app/core/components/navigation/navigation.component.html index a880e2a..37c5929 100644 --- a/src/app/core/components/navigation/navigation.component.html +++ b/src/app/core/components/navigation/navigation.component.html @@ -1,18 +1,23 @@