og
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m55s

This commit is contained in:
2026-01-31 10:35:07 +01:00
parent c1773a7072
commit 8a80eb7b9a
4 changed files with 3 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ export async function GET(
title={product.frontmatter.title}
description={product.frontmatter.description}
label={product.frontmatter.categories?.[0] || 'Product'}
image={featuredImage}
image={featuredImage?.startsWith('http') ? featuredImage : undefined}
/>
),
{

View File

@@ -25,7 +25,7 @@ export default async function Image({ params: { locale, slug } }: { params: { lo
title={post.frontmatter.title}
description={post.frontmatter.excerpt}
label={post.frontmatter.category || 'Blog'}
image={featuredImage}
image={featuredImage?.startsWith('http') ? featuredImage : undefined}
/>
),
{

View File

@@ -72,7 +72,7 @@ export default async function Image({ params: { locale, slug } }: { params: { lo
title={product.frontmatter.title}
description={product.frontmatter.description}
label={product.frontmatter.categories?.[0] || 'Product'}
image={featuredImage}
image={featuredImage?.startsWith('http') ? featuredImage : undefined}
/>
),
{

View File

@@ -15,7 +15,6 @@ export default async function Image({ params: { locale } }: { params: { locale:
title={title}
description={description}
label="Our Team"
image="https://klz-cables.com/uploads/2024/12/DSC07655-Large.webp"
/>
),
{