+ {frontmatter.title} +
+ + {/* Description */} ++ {frontmatter.description} +
+ + {/* Meta */} +diff --git a/app/(marketing)/blog/page.tsx b/app/(marketing)/blog/page.tsx new file mode 100644 index 0000000..c3bc67b --- /dev/null +++ b/app/(marketing)/blog/page.tsx @@ -0,0 +1,154 @@ +/** + * Blog Overview Page + * + * Landing page with series cards and recent posts + */ + +import Link from 'next/link' +import { getAllPosts, getSeriesWithCounts, type BlogSeries } from '@/lib/mdx/blog' + +export const metadata = { + title: 'Blog - AI Speedrun', + description: 'Artikelen over AI-gestuurde software ontwikkeling, healthcare IT en het bouwen van een EPD.', +} + +export default async function BlogPage() { + const series = await getSeriesWithCounts() + const posts = await getAllPosts() + + return ( +
+ Artikelen over AI-gestuurde ontwikkeling en de reis van het bouwen van een EPD. +
++ Nog geen blogposts gepubliceerd. +
+ ) : ( ++ {post.frontmatter.description} +
+ {post.frontmatter.tags && post.frontmatter.tags.length > 0 && ( +{series.description}
++ {frontmatter.description} +
+ + {/* Meta */} ++ {series.description} +
++ Nog geen posts in deze serie. +
+ ) : ( ++ {post.frontmatter.description} +
+{post.description}
+ + ))} +{post.description}
+