import React from 'react'; import { Card, CardBody } from '@nextui-org/card'; import Headers from '@/app/blog/post/[id]/Headers'; import Footer from '@/app/blog/post/[id]/Footer'; import { fetchNocturneApi } from '@/app/blog/api'; import MarkdownRenderer from '@/app/public/MarkdownRenderer'; type Props = { id: string } async function PostCard(props: Props) { try { const res = await fetchNocturneApi(`/blog/get_post/${ props.id }`); const ret: any = await res.json(); return (