Commit Graph

61 Commits

Author SHA1 Message Date
ahasani e69e2bf7e1 update project api and page, set pagination in blog and create content generator component, create blog single page, ui fix 2025-06-19 15:48:47 +03:30
ahasani 38df8ec335 clean project sections and page and set pagination to projects 2025-06-18 20:02:27 +03:30
ahasani 8ddf2dc7db feat: update copyright year placeholders and enhance footer styling; add new project titles and descriptions in Persian; implement locale handling in various components 2025-06-16 15:21:44 +03:30
ahasani 5818c895cd feat: add metadata for SEO optimization in English and Persian message files 2025-06-16 14:27:41 +03:30
ahasani 96e0fc9e0d refactor: enhance link active state handling in Navbar and HamburgerMenu components 2025-06-16 14:02:21 +03:30
Zahra Vaziri 7c56fdc8cd Merge remote-tracking branch 'origin/main' into navbar 2025-06-15 21:13:12 +03:30
Zahra Vaziri 804e3af3ba pagination and api blog metadata all page 2025-06-15 20:54:48 +03:30
ahasani 9d5c40ff5b refactor: clean up message files and improve product category handling 2025-06-14 15:37:20 +03:30
ahasani 70699ec103 debug for build 2025-06-13 20:03:24 +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 261ab28447 fix: update environment variables in Dockerfile and use config for host in sitemap generation 2025-06-11 17:01:46 +03:30
ahasani fc33dbf818 fix: correct path for public sitemap.xml in .gitignore 2025-06-11 15:44:12 +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
zahravaziri ab37893d1b api project 2025-06-10 17:30:21 +03:30
ahasani 2a132d6934 Merge remote-tracking branch 'origin/navbar' 2025-06-10 15:59:38 +03:30
ahasani 6053143163 Merge remote-tracking branch 'origin/navbar' 2025-06-09 17:19:10 +03:30
zahravaziri 3e9143f32c submit form contactus and start api projects 2025-06-09 17:14:44 +03:30
ahasani cd8ce1f34f feat: add environment variables for production URL and API base URL in Dockerfile 2025-06-09 13:50:22 +03:30
zahravaziri 11446b98e4 Merge remote-tracking branch 'origin/main' into navbar 2025-06-09 11:39:46 +03:30
zahravaziri 803e73b6a4 translate 404 page 2025-06-09 11:37:29 +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 2ae57940f0 feat: update NotFound and contact components for improved internationalization support 2025-06-07 16:36:59 +03:30
ahasani 92df4d0121 Merge remote-tracking branch 'origin/navbar' 2025-06-07 16:32:26 +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 9dfbb3f031 404 page 2025-06-07 16:27:10 +03:30
zahravaziri 6728b99e33 add icons 2025-06-05 17:02:56 +03:30
zahravaziri a0c499cd58 Merge remote-tracking branch 'origin/main' into navbar 2025-06-05 17:01:17 +03:30
zahravaziri 7065279807 Finished styling the Contact component 2025-06-05 17:00:07 +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 bd368ab6b5 create products page 2025-06-03 12:59:05 +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
ahasani 919364a4dd feat: add footer components including FooterInfo, FooterMenuBuilder, and FooterMenuBuilderWrapper
- Implemented FooterInfo component to display logo, slogan, and social links.
- Created FooterMenuBuilder component for rendering a list of links with a title.
- Added FooterMenuBuilderWrapper to encapsulate the layout for menu items.
2025-06-02 18:06:15 +03:30
ahasani 86dc740dfd feat: add AboutTopInfo and HomePageProducts components; update translations and styles 2025-06-02 16:45:30 +03:30
zahravaziri 2f6d022fb9 Merge remote-tracking branch 'origin/main' into navbar 2025-06-02 15:29:46 +03:30
zahravaziri 74b07284f6 create com button 2025-06-02 15:25:14 +03:30
ahasani e4a42d3300 feat: add AchievementTextBox and InnerPageBanner components with respective types
- Created AchievementTextBox component for displaying achievement titles.
- Implemented InnerPageBanner component for inner page banners with image and title.
- Added SectionTitle component for displaying section titles and descriptions.
- Updated AboutTopInfo component to utilize new AchievementTextBox and SectionTitle components.
- Defined TypeScript interfaces for props in each new component.
2025-06-02 14:13:15 +03:30
ahasani 95b6c71b7c Refactor code structure for improved readability and maintainability 2025-06-02 12:51:13 +03:30
ahasani ec0fed8bb1 refactor(page): remove unused language switcher and related imports 2025-06-01 17:48:20 +03:30
ahasani 4d8a274eb7 update 2025-06-01 17:38:38 +03:30
zahravaziri 682dcab56e Merge remote-tracking branch 'origin' into navbar 2025-06-01 17:36:19 +03:30
zahravaziri de40cdf908 create header component 2025-06-01 17:31:43 +03:30
ahasani b95fa02922 refactor(layout): improve locale handling by storing cookie in a variable
fix(page): comment out ChangeLangButton component
2025-06-01 17:24:44 +03:30