fix(seo): Fix SEO title duplication and generate dynamic OG images

This commit is contained in:
AI Assistant
2026-07-19 11:10:47 +02:00
parent 08d4074c3f
commit 0b7c5bf920
29 changed files with 174 additions and 67 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
const product = getProductBySlug(slug);
if (!product) return { title: 'Produkt nie znaleziony' };
return {
title: `${product.brand} ${product.name} | Sklep ThermCool`,
title: `${product.brand} ${product.name}`,
description: product.shortDescription || `Klimatyzator ${product.name} — sprawdź specyfikację i cenę. Profesjonalny montaż na Dolnym Śląsku.`,
alternates: { canonical: `/sklep/${product.slug}` },
};