4
0
forked from crowetic/commerce

feat: concise card code (#348)

This commit is contained in:
John Vandivier 2021-05-31 22:31:16 -04:00 committed by GitHub
parent 1bc721de83
commit d71646a60d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,15 +52,7 @@ export default function Home({
</Grid> </Grid>
<Marquee variant="secondary"> <Marquee variant="secondary">
{products.slice(0, 3).map((product, i) => ( {products.slice(0, 3).map((product, i) => (
<ProductCard <ProductCard key={product.id} product={product} variant="slim" />
key={product.id}
product={product}
variant="slim"
imgProps={{
width: 320,
height: 320,
}}
/>
))} ))}
</Marquee> </Marquee>
<Hero <Hero
@ -87,15 +79,7 @@ export default function Home({
</Grid> </Grid>
<Marquee> <Marquee>
{products.slice(0, 3).map((product, i) => ( {products.slice(0, 3).map((product, i) => (
<ProductCard <ProductCard key={product.id} product={product} variant="slim" />
key={product.id}
product={product}
variant="slim"
imgProps={{
width: 320,
height: 320,
}}
/>
))} ))}
</Marquee> </Marquee>
{/* <HomeAllProductsGrid {/* <HomeAllProductsGrid