Update to Next.js 13 (#870)

This commit is contained in:
Catalin Pinte
2022-12-21 17:51:55 +02:00
committed by GitHub
parent 6d783eae35
commit 4efa502666
60 changed files with 895 additions and 460 deletions

View File

@@ -46,6 +46,7 @@ export default function Home({
key={product.id}
product={product}
imgProps={{
alt: product.name,
width: i === 0 ? 1080 : 540,
height: i === 0 ? 1080 : 540,
priority: true,
@@ -68,6 +69,7 @@ export default function Home({
key={product.id}
product={product}
imgProps={{
alt: product.name,
width: i === 0 ? 1080 : 540,
height: i === 0 ? 1080 : 540,
}}