src for meta tag

This commit is contained in:
Luis Alvarez
2020-10-21 22:02:02 -05:00
parent a02f58bbf2
commit 509ba95bc9
4 changed files with 37 additions and 9 deletions

View File

@@ -70,8 +70,8 @@ export default function Home({
key={node.path}
product={node}
// The first image is the largest one in the grid
imgWidth={i === 0 ? 1600 : 1024}
imgHeight={i === 0 ? 1600 : 1024}
imgWidth={i === 0 ? 1600 : 820}
imgHeight={i === 0 ? 1600 : 820}
priority
/>
))}
@@ -103,8 +103,8 @@ export default function Home({
key={node.path}
product={node}
// The second image is the largest one in the grid
imgWidth={i === 1 ? 1600 : 1024}
imgHeight={i === 1 ? 1600 : 1024}
imgWidth={i === 1 ? 1600 : 820}
imgHeight={i === 1 ? 1600 : 820}
/>
))}
</Grid>