Skip to content

Commit

Permalink
added extra set if sponsors to marquee
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauvikesh committed Mar 12, 2024
1 parent a5a4c89 commit 6145753
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/(pages)/(index-page)/_components/Marquee/Marquee.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ const Marquee = ({
<Fragment key={idx}>{children}</Fragment>
))}
</ul>
<ul
style={duration ? { animationDuration: `${duration}s` } : undefined}
className={`${styles.marqueeGroup} ${reverse ? styles.reverse : ''}`}
aria-hidden="true"
>
{keys.map((idx) => (
<Fragment key={idx}>{children}</Fragment>
))}
</ul>
</div>
);
};
Expand Down

0 comments on commit 6145753

Please sign in to comment.