import React from 'react'; import { Card, CardBody, CardHeader } from '@nextui-org/card'; import { Divider } from '@nextui-org/react'; import Link from 'next/link'; type Props = { post: JSON } function BlogPostCard({ post }: Props) { let title = (post as any)['title']; let summary = (post as any)['summary']; let last_update = (post as any)['last_update']; let post_id = (post as any)['post_id']; return (
{/*todo: to be update*/ } {/**/ }

{ title }

{ summary } { last_update }
{/**/ }
); } export default BlogPostCard;