Commit Graph

44 Commits

Author SHA1 Message Date
zahravaziri ab37893d1b api project 2025-06-10 17:30:21 +03:30
zahravaziri 3e9143f32c submit form contactus and start api projects 2025-06-09 17:14:44 +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
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
zahravaziri fe548c3a2d pull main 2025-06-01 12:03:41 +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 0c2b91c602 add fonts 2025-05-31 14:58:05 +03:30
zahravaziri 51c3457068 add fonts 2025-05-31 14:54:05 +03:30
ahasani b8c3ebcee3 config tailwind 2025-05-31 14:46:26 +03:30
ahasani d81d32fe4b initial 2025-05-31 13:17:46 +03:30
ahasani 9dab9cc1ec Initial commit 2025-05-31 11:37:47 +03:30