feat: Add Docker support and improve API structure

- Introduced Dockerfile and .dockerignore for containerization.
- Removed unused API route `src/app/api/hello/route.ts`.
- Added new API route for fetching products by category.
- Enhanced existing product category API to include descriptions.
- Updated product categories data structure to include descriptions.
- Improved product fetching logic in the product categories page.
- Refactored breadcrumb component for better navigation.
- Added new AchievementIconWhite component for UI consistency.
- Updated Navbar to use routeFactory for better maintainability.
- Enhanced styling in various components for improved responsiveness.
- Removed obsolete language switcher component.
This commit is contained in:
2025-06-05 16:03:59 +03:30
parent d44aa203e0
commit 0bd5060580
28 changed files with 403 additions and 111 deletions
+8 -8
View File
@@ -2,31 +2,31 @@ import { t, translates } from '@/locales/translates';
export default {
home: {
title: t('pages_home_title'),
title: t('pages_home_title') as string,
route: () => '/',
},
productCategories: {
title: t('pages_product_categories_title'),
title: t('pages_product_categories_title') as string,
route: () => '/product-categories',
},
products: {
title: t('pages_products_title'),
title: t('pages_products_title') as string,
route: (productId: string) => `/product-categories/${productId}`,
},
projects: {
title: t('pages_projects_title'),
title: t('pages_projects_title') as string,
route: () => '/projects',
},
about: {
title: t('pages_about_title'),
title: t('pages_about_title') as string,
route: () => '/about-us',
},
blog: {
title: t('pages_blog_title'),
blog: {
title: t('pages_blog_title') as string,
route: () => '/blog-us',
},
contact: {
title: t('pages_contact_title'),
title: t('pages_contact_title') as string,
route: () => '/contact',
},
};