Commit Graph

11 Commits

Author SHA1 Message Date
zahravaziri cef9c3bbc1 Horizontal scrolling in mobile mode for projects and blogs and add favicon 2025-06-29 15:46:44 +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 12775285ec feat: implement internationalization support by updating locale files and adding language switch component 2025-06-08 09:25:38 +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
zahravaziri 7065279807 Finished styling the Contact component 2025-06-05 17:00:07 +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
ahasani 95b6c71b7c Refactor code structure for improved readability and maintainability 2025-06-02 12:51:13 +03:30
ahasani d691c8de41 feat(i18n): implement language switching and localization support
- Remove i18next configuration and dependencies
- Add language switcher component
- Integrate language change functionality with cookies
- Update translations for English and Persian
- Modify layout and page components to support dynamic language rendering
- Refactor Tailwind CSS configuration for custom colors
2025-06-01 17:21:11 +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
ahasani d81d32fe4b initial 2025-05-31 13:17:46 +03:30