import Link from 'next/link' import { useGlobal } from '@/lib/global' export const ArticleInfo = (props) => { const { post } = props const { locale } = useGlobal() return (
{post?.type !== 'Page' && <> {post?.category} | } {post?.type !== 'Page' && (<> {post?.publishTime} | {locale.COMMON.LAST_EDITED_TIME}: {post?.lastEditedTime} |   )}
) }