forked from crowetic/commerce
Adding right sizes
This commit is contained in:
parent
5bbcef00a7
commit
1beafd33f1
@ -83,8 +83,8 @@ export default function Home({
|
||||
key={node.path}
|
||||
product={node}
|
||||
// The first image is the largest one in the grid
|
||||
imgWidth={i === 0 ? 1600 : 820}
|
||||
imgHeight={i === 0 ? 1600 : 820}
|
||||
imgWidth={i === 0 ? 1280 : 820}
|
||||
imgHeight={i === 0 ? 1280 : 820}
|
||||
priority
|
||||
/>
|
||||
))}
|
||||
@ -116,8 +116,8 @@ export default function Home({
|
||||
key={node.path}
|
||||
product={node}
|
||||
// The second image is the largest one in the grid
|
||||
imgWidth={i === 1 ? 1600 : 820}
|
||||
imgHeight={i === 1 ? 1600 : 820}
|
||||
imgWidth={i === 1 ? 1280 : 820}
|
||||
imgHeight={i === 1 ? 1280 : 820}
|
||||
/>
|
||||
))}
|
||||
</Grid>
|
||||
|
Loading…
x
Reference in New Issue
Block a user