Commit Graph

12 Commits

Author SHA1 Message Date
ahasani 96e0fc9e0d refactor: enhance link active state handling in Navbar and HamburgerMenu components 2025-06-16 14:02:21 +03:30
ahasani 7073310a22 feat: add product generation and pagination components
- Implemented product generation for categories with a helper function to create 50 products per category.
- Added image assets for English and Persian language support.
- Created a reusable Pagination component for navigating through product lists.
- Developed ProductList component to display products with pagination support.
- Defined TypeScript interfaces for product list props and API response structure.
2025-06-08 15:52:05 +03:30
ahasani a3915377bd feat: implement internationalization and routing for locale-based pages
- Added RootLayout component to handle locale and message loading.
- Created Home page with header, about info, products, and story sections.
- Developed ProductPage for displaying product categories and products.
- Implemented ProductsPage to list product categories with banners.
- Added Projects page with a grid layout for project display.
- Configured server settings for port and host.
- Established navigation and routing for internationalization.
- Set up request handling for locale and message retrieval.
- Defined routing structure for supported locales.
- Created middleware for locale-based routing.
- Defined layout parameters for locale handling.
2025-06-07 16:31:52 +03:30
ahasani 0bd5060580 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.
2025-06-05 16:03:59 +03:30
zahravaziri d44aa203e0 Merge remote-tracking branch 'origin/main' into navbar 2025-06-05 14:25:22 +03:30
ahasani 49e7d4a8f7 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.
2025-06-03 17:13:44 +03:30
zahravaziri e192770379 blog , cantactus , projects component 2025-06-03 16:57:33 +03:30
ahasani 05e50f0eee feat: add HomeStorySection component and ShowMoreIcon SVG icon
- Implemented HomeStorySection component to display project statistics and images.
- Added ShowMoreIcon component for UI enhancement.
2025-06-03 10:45:10 +03:30
zahravaziri a5a287f11f create hamburger menu and responsive header 2025-06-02 18:36:20 +03:30
zahravaziri 74b07284f6 create com button 2025-06-02 15:25:14 +03:30
zahravaziri de40cdf908 create header component 2025-06-01 17:31:43 +03:30
zahravaziri 357544a145 add font face and create navbar component 2025-05-31 18:03:15 +03:30