Skip to content

feat: add dynamic auction listings and integrate into rental layout#3

Open
codeCraft-Ritik wants to merge 1 commit into
prettyblueberry:masterfrom
codeCraft-Ritik:master
Open

feat: add dynamic auction listings and integrate into rental layout#3
codeCraft-Ritik wants to merge 1 commit into
prettyblueberry:masterfrom
codeCraft-Ritik:master

Conversation

@codeCraft-Ritik

Copy link
Copy Markdown

Key Changes:

Centralized Data Management: Created src/data/auctionData.js to manage vehicle metadata, including titles, current bids, and auction end times.

New UI Component: Developed the AuctionListings section in src/pages/LandingPages/Rental/sections/AuctionListings.js. This component uses a responsive grid to map through the auction data and render VehicleAuctionCard components.

Layout Integration: Updated the main entry point for the Rental page (src/pages/LandingPages/Rental/index.js) to import and display the new AuctionListings section.

UX Improvements: Integrated the AuctionCountdown logic within the listings to provide users with real-time feedback on when bidding ends for specific vehicles.

Design Consistency: Leveraged existing project components like MKBox, MKTypography, and the "Material Kit 2 PRO" theme to ensure the new features match the professional aesthetic of the application.

Impact: These changes provide a scalable foundation for adding real backend data in the future and immediately improve the user experience by showcasing active car auctions in a structured, easy-to-navigate format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant