import Live2D from '@/components/Live2D' import { siteConfig } from '@/lib/config' import { useGlobal } from '@/lib/global' import dynamic from 'next/dynamic' import Link from 'next/link' import Announcement from './Announcement' const ExampleRecentComments = dynamic( () => import('./RecentCommentListForExample') ) /** * 侧边栏 */ export const SideBar = props => { const { locale } = useGlobal() const { latestPosts, categoryOptions, notice } = props return (
{/* 公告栏 */} {/* 最近评论 */} {siteConfig('COMMENT_WALINE_SERVER_URL') && siteConfig('COMMENT_WALINE_RECENT') && ( )}
) }