feat: add product category components and services

- Implemented ProductCategoryCard component for displaying product categories with icons, titles, and counts.
- Created ProductCategoryCardInProducts component for rendering product categories in a product context.
- Defined TypeScript interfaces for product category props.
- Added ProductCard component for individual product display with image and title.
- Established Axios instance for API calls with request and response interceptors.
- Developed services for fetching product categories and category details from the API.
This commit is contained in:
2025-06-03 17:13:44 +03:30
parent bd368ab6b5
commit 49e7d4a8f7
29 changed files with 485 additions and 82 deletions
@@ -6,8 +6,8 @@ export const quickLinks = [
link: routeFactory.home.route(),
},
{
title: routeFactory.products.title,
link: routeFactory.products.route(),
title: routeFactory.productCategories.title,
link: routeFactory.productCategories.route(),
},
{
title: routeFactory.projects.title,
+5 -1
View File
@@ -5,9 +5,13 @@ export default {
title: t('pages_home_title'),
route: () => '/',
},
productCategories: {
title: t('pages_product_categories_title'),
route: () => '/product-categories',
},
products: {
title: t('pages_products_title'),
route: () => '/products',
route: (productId: string) => `/product-categories/${productId}`,
},
projects: {
title: t('pages_projects_title'),
+2
View File
@@ -6,6 +6,7 @@ import aboutImg_1 from './about-img-1.png';
import aboutImg_2 from './about-img-2.png';
import homeProductBack from './home_product_back.jpeg';
import whatWeDoImage from './what-we-do-image.png';
import product1 from './product1.png';
export default {
homeBanner,
@@ -16,4 +17,5 @@ export default {
aboutImg_2,
homeProductBack,
whatWeDoImage,
product1,
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB