This commit is contained in:
paolosantarsiero 2025-02-05 15:37:32 +01:00
parent eae24f1f35
commit 277609dea6
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ export default async function ProductPage(props: { params: Promise<{ slug: strin
<div className="mb-6 px-4"> <div className="mb-6 px-4">
<span>{category.description}</span> <span>{category.description}</span>
</div> </div>
<section className="mx-auto grid max-w-screen-2xl flex-col gap-6 px-4 pb-4 md:grid-cols-8 md:grid-rows-2"> <section className="mx-auto grid max-w-screen-2xl flex-col gap-6 px-4 pb-4 md:grid-cols-8">
{products.map((product) => ( {products.map((product) => (
<ProductCard key={product.id} product={product} /> <ProductCard key={product.id} product={product} />
))} ))}

View File

@ -13,7 +13,7 @@ const nextConfig: NextConfig = {
formats: ['image/avif', 'image/webp'], formats: ['image/avif', 'image/webp'],
remotePatterns: [ remotePatterns: [
{ {
protocol: 'http', protocol: 'https',
hostname: '**' hostname: '**'
} }
] ]