import { useGlobal } from '@/lib/global' import Link from 'next/link' import Card from './Card' import CategoryGroup from './CategoryGroup' import TagGroups from './TagGroups' import CONFIG from '../config' import { useRouter } from 'next/router' import dynamic from 'next/dynamic' import Announcement from './Announcement' import LatestPostsGroup from './LatestPostsGroup' import { siteConfig } from '@/lib/config' const NextRecentComments = dynamic(() => import('./NextRecentComments')) /** * 侧边平铺 * @param tags * @param currentTag * @param post * @param categories * @param currentCategory * @returns {JSX.Element} * @constructor */ const SideAreaRight = (props) => { const { tagOptions, currentTag, slot, categoryOptions, currentCategory, notice, latestPosts } = props const { locale } = useGlobal() const router = useRouter() const announcementVisible = notice && Object.keys(notice).length > 0 return ( ) } export default SideAreaRight