import type { Metadata } from 'next'; import { getAllPosts } from './utils'; import { BlogBackground, BlogArticleCard, BlogPageHeader, // BlogSearchInput, // BlogCategories, BlogNewsletter, // BlogTags, } from './_components'; export const metadata: Metadata = { title: 'Blog | Banatie', description: 'Articles, guides, and updates about AI-powered placeholder images.', }; // const defaultTags = ['ai', 'image-generation', 'api', 'midjourney', 'flux']; export default function BlogPage() { const posts = getAllPosts(); // const categories = getCategories(); return ( <> {posts.map((post) => ( ))} {posts.length === 0 && ( No articles yet. Check back soon! )} {posts.length > 6 && ( Load More Articles )} > ); }
No articles yet. Check back soon!