import { getSortedPostsData, getFeaturedPost } from '@/lib/blog' import BlogHeader from '@/components/BlogHeader' import BlogFooter from '@/components/BlogFooter' import PostCard from '@/components/PostCard' import FeaturedPostHero from '@/components/FeaturedPostHero' // Force dynamic rendering to pick up volume-mounted content export const dynamic = 'force-dynamic' export default async function HomePage() { const allPosts = getSortedPostsData() const featuredPost = getFeaturedPost() const recentPosts = allPosts.slice(1, 7) // Skip the first post since it's featured const additionalPosts = allPosts.slice(8, 20) // Additional posts for newspaper columns return (
{/* Featured Post - Full Width Hero */} {featuredPost && ( )} {/* Recent Posts - Responsive Newspaper Layout */}
{/* Section Header - Newspaper Style */}
{recentPosts.length > 0 ? (
{/* Main Content Area - Primary Articles */}
{recentPosts.slice(0, 4).map((post) => ( ))}
{/* Sidebar Articles - Only on 2XL+ screens if more articles available */} {/* {recentPosts.length > 4 && ( )} */}
) : (

Coming Soon

We're preparing some excellent content about contextual AI and agent orchestration. Check back soon for our first posts!

)}
{/* Newspaper Column Layout - Additional Articles */} {additionalPosts.length > 0 && (
{/* Section Header */}

Archive

Deeper insights and analysis

{/* Flexbox Newspaper Columns - 4 Narrow Equal Columns */}
{/* Column 1 */} {/* Column 2 */} {/* Column 3 */} {/* Column 4 */}
{/* Mobile/Tablet Fallback - Single Column */}
)}
) }