mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 22:16:58 +00:00
Adds back carousel animation
This commit is contained in:
parent
1381783490
commit
e21297ceb9
@ -9,7 +9,8 @@ export async function Carousel() {
|
||||
if (!products?.length) return null;
|
||||
|
||||
return (
|
||||
<div className="flex w-full gap-4 overflow-x-auto pb-6 pt-1">
|
||||
<div className=" w-full overflow-x-auto pb-6 pt-1">
|
||||
<div className="flex animate-carousel gap-4">
|
||||
{[...products, ...products].map((product, i) => (
|
||||
<Link
|
||||
key={`${product.handle}${i}`}
|
||||
@ -31,5 +32,6 @@ export async function Carousel() {
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user