import { getPosts } from "@/lib/ghost"; import { BlogCard, FeaturedBlogCard } from "@/components/BlogCard"; export const metadata = { title: "Blog — UP Parivaar Dallas", description: "Stories, event recaps, and reflections from the UP Parivaar Dallas community.", }; // Revalidation is driven by the Ghost fetch layer (GHOST_REVALIDATE). export const revalidate = 60; export default async function BlogPage() { const posts = await getPosts(); const [featured, ...rest] = posts; return ( <> Blog Stories from our community Event recaps, member spotlights, and reflections on the traditions we carry forward together. {posts.length === 0 ? ( No posts published yet. Check back soon. ) : ( <> {featured && } {rest.length > 0 && ( {rest.map((post) => ( ))} )} > )} > ); }
Event recaps, member spotlights, and reflections on the traditions we carry forward together.
No posts published yet. Check back soon.