Commit Graph

16 Commits

Author SHA1 Message Date
ahasani 730e2d8ca8 feat: add certificate gallery and certifications section components
- Implemented CertificateGallery component to display certification images in a gallery format.
- Created CertificationsSection component to showcase certifications with titles and descriptions.
- Enhanced Gallery component to support animations and keyboard navigation.
- Introduced Select component for dropdown selection with images.
- Added utility functions for API responses and pagination handling.
- Implemented localization functions for text and content.
- Created a custom hook for detecting clicks outside of a component.
2026-07-19 07:59:16 +03:30
ahasani 3cab7e3ee5 update 2026-05-30 14:16:02 +03:30
zahravaziri cef9c3bbc1 Horizontal scrolling in mobile mode for projects and blogs and add favicon 2025-06-29 15:46:44 +03:30
ahasani efef7fdbbb Merge remote-tracking branch 'origin/navbar' 2025-06-13 19:58:45 +03:30
zahravaziri 594643816a add title and description in head , responsive home page 2025-06-11 17:13:51 +03:30
ahasani a6da045e19 feat: update product categories data structure and implement sitemap generation
- Refactored product categories to use a new data structure.
- Updated API routes to fetch product categories from the new data source.
- Implemented sitemap generation script using dotenv for environment variables.
- Added sitemap generation endpoint to the API.
- Removed old sitemap file and replaced it with a dynamically generated one.
2025-06-11 15:42:49 +03:30
ahasani 429256f512 feat: refactor product components and add sitemap support
- Updated product components to use new IPageParams interface for better type safety.
- Added next-sitemap configuration and generated sitemap.xml and robots.txt files.
- Removed deprecated ProductCard component and its associated types.
- Enhanced internationalization support across various pages.
2025-06-09 11:29:54 +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 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
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 0c7c7884a4 Merge branch 'main' of github.com:AbbasHasani/pasargad_bricks 2025-06-01 11:45:54 +03:30
zahravaziri 357544a145 add font face and create navbar component 2025-05-31 18:03:15 +03:30
ahasani 489e65224a Merge branch 'main' of github.com:AbbasHasani/pasargad_bricks 2025-05-31 16:41:57 +03:30
ahasani cb77aef586 feat(i18n): add internationalization support with i18next
- Add i18next and related dependencies for translation support
- Create locale files for English and Farsi languages
- Implement i18n configuration and provider in layout
- Set up route factory and constants for internationalized routes
- Remove test button components and simplify main page
2025-05-31 16:41:12 +03:30
zahravaziri 51c3457068 add fonts 2025-05-31 14:54:05 +03:30
ahasani d81d32fe4b initial 2025-05-31 13:17:46 +03:30