Skip to content

Fix: artist carousel navigation#191

Open
Winklaa22 wants to merge 1 commit into
mainfrom
fix/artists-carousel-navigation
Open

Fix: artist carousel navigation#191
Winklaa22 wants to merge 1 commit into
mainfrom
fix/artists-carousel-navigation

Conversation

@Winklaa22

Copy link
Copy Markdown
Contributor

No description provided.

@Winklaa22 Winklaa22 requested a review from mejsiejdev May 17, 2026 18:01
@Winklaa22 Winklaa22 requested a review from qamarq as a code owner May 17, 2026 18:01
Copilot AI review requested due to automatic review settings May 17, 2026 18:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the artist carousel navigation by adding custom previous/next pill controls and navigation animation state.

Changes:

  • Adds slider refs and navigation animation state.
  • Adds custom previous/next controls below the carousel.
  • Adjusts carousel dot configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 129 to +130
customPaging: (index) => <button>{index + 1}</button>,
appendDots: getAppendDots(5),
appendDots: getAppendDots(3),
Comment on lines +184 to +189
className={cn(
"h-4 rounded-full transition-all duration-300 ease-in-out",
animateNav && navDirection === "prev"
? "w-20 bg-black"
: "w-4 bg-zinc-300",
)}
Comment on lines +205 to +210
className={cn(
"h-4 rounded-full transition-all duration-300 ease-in-out",
animateNav && navDirection === "next"
? "w-20 bg-black"
: "w-4 bg-zinc-300",
)}
Comment on lines +198 to +203
<li
className={cn(
"h-4 rounded-full transition-all duration-300 ease-in-out",
animateNav ? "w-4 bg-zinc-300" : "w-20 bg-black",
)}
/>
>
<button
type="button"
aria-label="Previous slide"
>
<button
type="button"
aria-label="Next slide"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants