import { Metadata } from 'next'; import { HeroSection } from '@/components/sections/HeroSection'; import { FeaturedPost } from '@/components/sections/FeaturedPost'; import { PostsGrid } from '@/components/sections/PostsGrid'; import { CtaBanner } from '@/components/sections/CtaBanner'; import { getPosts, getFeaturedPost } from '@/content/posts'; export const metadata: Metadata = { title: 'Blog i Porady | ThermCool', description: 'Baza wiedzy na temat klimatyzacji i pomp ciepła na Dolnym Śląsku. Poradniki, porównania urządzeń i aktualności branżowe.', alternates: { canonical: '/blog', } }; export default function BlogPage() { const allPosts = getPosts(); const featuredPost = getFeaturedPost(); // Usuwamy z głównej siatki artykuł wyróżniony, żeby się nie powielał (chyba że chcemy, ale zazwyczaj się usuwa) const remainingPosts = allPosts.filter(post => post.slug !== featuredPost.slug); return (

Artykuł wyróżniony

); }