project_next13_car_showcase icon indicating copy to clipboard operation
project_next13_car_showcase copied to clipboard

✨ [feature] Add a dynamic gallery feature to car details modal

Open ladunjexa opened this issue 1 year ago • 0 comments

Hi Adrian! The gallery in the modal that currently displays the details of the vehicle is static, meaning the images remain in place.

I have added a new feature using useState and useEffect that makes the gallery dynamic. Now, when you click on an image from the gallery (the three images below the main image), the main image will be replaced by the selected one, and so on.

I also want to express my sincere gratitude for all your work and contributions to the community. I have learned a lot from you 🙏

ladunjexa avatar Jun 10 '23 09:06 ladunjexa