Commit Graph

6 Commits

Author SHA1 Message Date
zahravaziri 594643816a add title and description in head , responsive home page 2025-06-11 17:13:51 +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 929960b26f Add Vazirmatn font files and CSS definitions for multiple font weights 2025-06-08 10:05:37 +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