import Link from "next/link" import { ArrowLeftIcon } from "@heroicons/react/24/solid" import { getArticleData } from "@/lib/articles"; const Article = async ({ params }: { params: Promise<{ slug: string }> }) => { const { slug } = await params; const articleData = await getArticleData(slug); return (

blog homepage

{articleData.date.toString()}

) } export default Article;