Skip to content

Commit

Permalink
Add effect for slider button
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Feb 6, 2025
1 parent e4d7f5b commit 5fbad17
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/TopBanner/TopBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ const TopBanner = ({
{children}
{onPrevClick && onNextClick && width > 1024 && (
<div className="flex gap-2 ml-4">
<button onClick={onPrevClick} className="p-2 rounded bg-white/20">
<button
onClick={onPrevClick}
className="p-2 rounded bg-white/20 hover:bg-white/40"
>
<IoIosArrowBack className="text-white" size={24} />
</button>
<button
onClick={onNextClick}
className="p-2 rounded bg-white/20 "
className="p-2 rounded bg-white/20 hover:bg-white/40"
>
<IoIosArrowForward className="text-white" size={24} />
</button>
Expand Down

0 comments on commit 5fbad17

Please sign in to comment.