import { useGlobal } from '@/lib/global' import Link from 'next/link' import React from 'react' import Card from './Card' import CategoryGroup from './CategoryGroup' import TagGroups from './TagGroups' import CONFIG_NEXT from '../config_next' import { useRouter } from 'next/router' import BLOG from '@/blog.config' import dynamic from 'next/dynamic' import Announcement from './Announcement' 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 } = props const { locale } = useGlobal() const router = useRouter() const announcementVisible = notice && Object.keys(notice).length > 0 return ( ) } export default SideAreaRight