import { Box, Card, CardContent, CardMedia, Divider, Typography } from "@mui/material"; import { getSinglePost } from "@/content/posts"; import Image from "next/image"; import PostContent from "@/components/posts/PostContent"; export default function PostDetailPage({ params }: { params: { id: string } }) { const post = getSinglePost(params.id); return ( { post.thumbnail && {post.title} } {post.title} {post.description ?? "No description yet."} ); }