import type { Metadata } from "next"; import { getAllPosts } from "@/lib/blog"; import BlogList from "@/components/BlogList"; // Force SSR - always fetch fresh data export const dynamic = 'force-dynamic'; export const metadata: Metadata = { title: "Blog AI i Case Studies — SZMYT AI Labs", description: "✓ Case studies wdrożeń AI ✓ Blog o sztucznej inteligencji dla firm ✓ Praktyczne porady i przykłady ✓ Najnowsze trendy w AI dla biznesu", keywords: [ "blog AI", "case studies AI", "wdrożenia AI przykłady", "sztuczna inteligencja blog", "AI dla firm blog", "przykłady automatyzacji AI", ], openGraph: { title: "Blog AI i Case Studies — SZMYT AI Labs", description: "✓ Case studies wdrożeń AI ✓ Blog o sztucznej inteligencji dla firm ✓ Praktyczne porady i przykłady", url: "https://aiagentdlafirm.pl/blog/", }, alternates: { canonical: "https://aiagentdlafirm.pl/blog/" }, }; const pageSchema = { "@context": "https://schema.org", "@type": "Blog", name: "Blog SZMYT AI Labs", url: "https://aiagentdlafirm.pl/blog/", description: "Blog o sztucznej inteligencji dla firm, case studies wdrożeń AI i praktyczne porady", publisher: { "@type": "Organization", name: "SZMYT AI Labs", url: "https://aiagentdlafirm.pl", }, breadcrumb: { "@type": "BreadcrumbList", itemListElement: [ { "@type": "ListItem", position: 1, name: "Strona główna", item: "https://aiagentdlafirm.pl/" }, { "@type": "ListItem", position: 2, name: "Blog", item: "https://aiagentdlafirm.pl/blog/" }, ], }, }; export default async function BlogPage() { const posts = await getAllPosts(); return ( <>