import Image from "next/image"; import Link from "next/link"; import { notFound } from "next/navigation"; import { getLandingContent, isSupportedLocale, locales } from "@/lib/site-data"; export function generateStaticParams() { return locales.map((locale) => ({ locale })); } export default async function BlogPage({ params }) { const { locale } = await params; if (!isSupportedLocale(locale)) { notFound(); } const { blogPosts, navigation, shared } = getLandingContent(locale); return (
{navigation.homeLabel}

{navigation.blog}

{shared.blogIntro}

{blogPosts.map((post) => (
{post.title}
{post.tag}

{post.title}

{post.excerpt}

{post.date}
))}
); }