import { Rss } from "lucide-react"; import Link from "next/link"; import BlogCards from "@/components/BlogCards"; export const dynamic = "force-static"; export async function generateMetadata({ params }) { const obtainedParams = await params; return { title: "Blog - MERNMail", description: "Welcome to the MERNMail Blog! Explore our latest blog posts featuring email tips. Stay tuned for the latest MERNMail updates.", openGraph: { title: "Blog - MERNMail", description: "Welcome to the MERNMail Blog! Explore our latest blog posts featuring email tips. Stay tuned for the latest MERNMail updates.", url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/blog/page/${params.id}`, type: "website", images: [ { url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/mernmail-cover.png`, width: 2560, height: 1440, alt: "Blog - MERNMail" } ] }, twitter: { card: "summary_large_image", site: "@MERNMail", title: "Blog - MERNMail", description: "Welcome to the MERNMail Blog! Explore our latest blog posts featuring email tips. Stay tuned for the latest MERNMail updates.", images: [ `${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/mernmail-cover.png` ], creator: "@MERNMail" } }; } async function Blog(props) { const params = await props.params; // Optionally, you can fetch some initial data here if needed. let id = parseInt(params.id); if (isNaN(id)) id = 1; return (

MERNMail Blog

Our blog has email-related tips and updates about MERNMail. RSS feed

); } export default Blog;