import { useGlobal } from '@/lib/global' import dynamic from 'next/dynamic' const NotionPage = dynamic(() => import('@/components/NotionPage')) const Announcement = ({ post, className }) => { const { locale } = useGlobal() if (!post) { return <> } return <>
{locale.COMMON.ANNOUNCEMENT}
{post && (
)} } export default Announcement