diff --git a/components/BlogPost.js b/components/BlogPost.js index 8c40735a..53cc018f 100644 --- a/components/BlogPost.js +++ b/components/BlogPost.js @@ -3,11 +3,11 @@ import BLOG from '@/blog.config' const BlogPost = ({ post }) => { return (
+ className='md:mx-2 w-full md:max-w-md duration-200 transform hover:scale-105 hover:shadow-2xl rounded-3xl bg-white dark:bg-gray-800 dark:hover:bg-gray-600 overflow-hidden'> {/* 封面图 */} {post.page_cover && post.page_cover.length > 1 && ( - {post.title} + {post.title} )} diff --git a/components/RightAside.js b/components/RightAside.js index 475630e2..f32339c8 100644 --- a/components/RightAside.js +++ b/components/RightAside.js @@ -5,7 +5,7 @@ const RightAside = ({ toc }) => { // 无目录就直接返回空 if (toc.length < 1) return <> - return