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}` },
};
+1 -1
View File
@@ -4,7 +4,7 @@ import { ProductsGrid } from '@/components/shop/ProductsGrid';
import { HeroSection } from '@/components/sections/HeroSection';
export const metadata: Metadata = {
title: 'Sklep z klimatyzatorami | ThermCool',
title: 'Sklep z klimatyzatorami',
description: 'Klimatyzatory split i multisplit — Gree, Rotenso, Haier, Daikin, LG, Samsung i inne. Szeroki wybór, konkurencyjne ceny, profesjonalny montaż.',
alternates: { canonical: '/sklep' },
};