+ {post.data.title} +
+ + {post.data.description && ( ++ {post.data.description} +
+ )} + + {post.data.tags && post.data.tags.length > 0 && ( +diff --git a/apps/site/app/blog/[[...slug]]/page.tsx b/apps/site/app/blog/[[...slug]]/page.tsx new file mode 100644 index 00000000..a05c8a7a --- /dev/null +++ b/apps/site/app/blog/[[...slug]]/page.tsx @@ -0,0 +1,237 @@ +import { blogSource } from '@/lib/source'; +import type { Metadata } from 'next'; +import { notFound } from 'next/navigation'; +import defaultMdxComponents from 'fumadocs-ui/mdx'; +import { HomeLayout } from 'fumadocs-ui/home-layout'; +import { baseOptions } from '@/app/layout.config'; +import Link from 'next/link'; + +// Blog listing component +function BlogListing() { + const posts = blogSource.getPages(); + + return ( +
+ Updates, tutorials, and insights about the standard protocol for AI software generation +
++ {post.data.description} +
+ )} + + {post.data.tags && post.data.tags.length > 0 && ( +No blog posts yet. Check back soon!
++ {page.data.description} +
+ )} + +