import React from "react"; import Image from "next/image"; import matter from "gray-matter"; import Markdown from "markdown-to-jsx"; interface BlogContentProps { post: matter.GrayMatterFile; } function BlogContent({ post }: BlogContentProps) { return ( <>

{post.data.title}

{/* Not sure if name is required */}

{post.data.author ?? ""}

|

{post.data.date}

post-image
{post.content}
); } export default BlogContent;