import Comment from '@/components/Comment' import Link from 'next/link' import ArticleAround from './ArticleAround' import CategoryItem from './CategoryItem' import TagItemMini from './TagItemMini' import CONFIG_MEDIUM from '../config_medium' import formatDate from '@/lib/formatDate' import { useGlobal } from '@/lib/global' import BLOG from '@/blog.config' import NotionPage from '@/components/NotionPage' import React from 'react' export const ArticleDetail = props => { const { post, prev, next, siteInfo } = props const { locale } = useGlobal() const date = formatDate( post?.date?.start_date || post?.createdTime, locale.LOCALE ) return