feat: restore heat pump pages, navigation links and blog posts

This commit is contained in:
MichalC
2026-08-01 11:37:22 +02:00
parent 4969318096
commit 02cb49e180
7 changed files with 61 additions and 20 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export function BlogPreview() {
const getCategoryLabel = (cat: string) => {
const labels: Record<string, string> = {
klimatyzacja: "Klimatyzacja",
// "pompy-ciepla": "Pompy ciepła",
"pompy-ciepla": "Pompy ciepła",
porady: "Porady ogólne",
};
return labels[cat] || cat;
+2 -2
View File
@@ -18,7 +18,7 @@ const POSTS_PER_PAGE = 6;
const categories = [
{ id: 'wszystkie', label: 'Wszystkie' },
{ id: 'klimatyzacja', label: 'Klimatyzacja' },
// { id: 'pompy-ciepla', label: 'Pompy ciepła' },
{ id: 'pompy-ciepla', label: 'Pompy ciepła' },
{ id: 'porady', label: 'Porady' },
];
@@ -41,7 +41,7 @@ export function PostsGrid({ posts, featuredPost }: PostsGridProps) {
const categoryLabels: Record<string, string> = {
'klimatyzacja': 'Klimatyzacja',
// 'pompy-ciepla': 'Pompy Ciepła',
'pompy-ciepla': 'Pompy Ciepła',
'porady': 'Porady'
};