Closed git-divyansh closed 19 hours ago
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
lap-pro-fix | โ Failed (Inspect) | Oct 11, 2024 1:38pm | ||
lap-pro-fix-4gpy | โ Failed (Inspect) | Oct 11, 2024 1:38pm | ||
lap-pro-fix-bo2t | โ Failed (Inspect) | Oct 11, 2024 1:38pm | ||
lap-pro-fix-hxqn | โ Failed (Inspect) | Oct 11, 2024 1:38pm | ||
lap-pro-fix-k923 | โ Failed (Inspect) | Oct 11, 2024 1:38pm | ||
lap-pro-fix-m8bt | โ Failed (Inspect) | Oct 11, 2024 1:38pm | ||
lap-pro-fix-p321 | โ Failed (Inspect) | Oct 11, 2024 1:38pm | ||
lap-pro-fix-yup | โ Failed (Inspect) | Oct 11, 2024 1:38pm | ||
lap-pro-fix134 | โ Failed (Inspect) | Oct 11, 2024 1:38pm | ||
lapprofix | โ Failed (Inspect) | Oct 11, 2024 1:38pm |
hey @git-divyansh you have mentioned and did everything that is needed to be done. Reason for closing this PR?
@VishnuAmit actually I had to remove a feature because I found an optimised way to implement it! It's almost complete I'll create another PR soon!
Alright
๐ฌ Changes
Summary:
This pull request focuses on several key improvements to secondary pages and user functionality within the platform. The updates aim to enhance the user experience by introducing a more consistent layout and streamlined functionality.
Update Secondary Pages: All four secondary pages have been redesigned with an improved layout and styling to ensure consistency across the platform. The enhancements prioritize a user-friendly interface while maintaining a visually appealing design.
Implement Add to Cart Functionality: An "Add" button has been added next to each item, allowing users to seamlessly add items to their cart. This interactive feature is designed to make the shopping experience more efficient and intuitive.
Display Cart Section: A functional cart section has been implemented, allowing users to view all items added to their cart. The cart button now includes a dropdown, showing a summary of the items. Additionally, a "View Details" option directs users to a new page, where they can see all relevant details of their selected items.
These changes significantly improve the overall usability and aesthetics of the platform, aligning with the goal of enhancing user experience.
๐ Area of Change
[ ✓ ] ๐ฑ API Routes
API routes for the cart have been added, enabling the backend functionality for adding and removing items to/from the cart. This also includes handling cart-related operations for all secondary pages.
[ ✓ ] ๐ผ๏ธ UI Components
Key UI components like the Navbar have been integrated into all secondary pages. Additionally, card-shaped models for items were implemented, with search functionality and interactive buttons for adding/removing items from the cart.
[ ✓ ] ๐จ Styles (CSS/SCSS)
Tailwind CSS was used to style the newly added components. This includes designing the card models, Navbar, and cart display, ensuring a consistent and polished look across the interface.
[ ✓ ] ๐งโ๐ป Hooks/Logic
The logic for adding/removing items from the cart has been implemented using React hooks, ensuring seamless interactivity between the cart component and the rest of the application.
[ ✓] ๐ Documentation
Documentation for the API routes, cart logic, and UI functionality has been updated to reflect the newly added components and features.
[ ✗ ] ๐งช Tests
[ ✓ ] ๐ง Other
A separate component for the cart has been added to modularize the code and improve maintainability.
โจ What's New
๐ ๏ธ Checklist before requesting a review
๐ก Additional informations