This pull request fixes the logic for the next and previous arrow buttons in the SwiperCarousel component. Previously, the next arrow button was always displayed, even on the last slide, and the previous arrow button was not displayed on the first slide. This PR updates the logic to only display the next arrow button if it is not the last slide, and to display the previous arrow button if it is not the first slide.
This pull request fixes the logic for the next and previous arrow buttons in the SwiperCarousel component. Previously, the next arrow button was always displayed, even on the last slide, and the previous arrow button was not displayed on the first slide. This PR updates the logic to only display the next arrow button if it is not the last slide, and to display the previous arrow button if it is not the first slide.