import { getAllPosts } from "../../src/lib/posts";
import { BlogClient } from "../../src/components/blog/BlogClient";
import type { Metadata } from "next";

export const metadata: Metadata = {
  title: "Blog | Mintel.me",
  description:
    "Gedanken über Engineering, Design und die Architektur der Zukunft.",
};

export default async function BlogPage() {
  const posts = await getAllPosts();
  return <BlogClient allPosts={posts as any} />;
}
