forked from crowetic/commerce
feat: concise card code (#348)
This commit is contained in:
parent
1bc721de83
commit
d71646a60d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user