import LazyImage from '@/components/LazyImage' import NotionIcon from '@/components/NotionIcon' import { siteConfig } from '@/lib/config' import CategoryItem from './CategoryItem' import TagItemMini from './TagItemMini' /** * 文章详情页介绍 * @param {*} props * @returns */ export default function ArticleInfo(props) { const { post } = props return ( <>
{siteConfig('MAGZINE_POST_LIST_CATEGORY') && ( )}
{siteConfig('MAGZINE_POST_LIST_TAG') && post?.tagItems?.map(tag => ( ))}
{/* title */}

{siteConfig('POST_TITLE_ICON') && ( )} {post?.title}

{post?.summary}
{post?.type && !post?.type !== 'Page' && post?.pageCover && (
)} ) }