mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Merge pull request #14 from okbel/arzfran/improve-imgs
Improve Image styles
This commit is contained in:
@@ -79,8 +79,8 @@ export default function Home({
|
||||
key={node.path}
|
||||
product={node}
|
||||
// The first image is the largest one in the grid
|
||||
imgWidth={i === 0 ? '65vw' : '30vw'}
|
||||
imgHeight={i === 0 ? '45vw' : '22vw'}
|
||||
imgWidth={i === 0 ? 1600 : 820}
|
||||
imgHeight={i === 0 ? 1600 : 820}
|
||||
priority
|
||||
/>
|
||||
))}
|
||||
|
Reference in New Issue
Block a user