diff --git a/components/BlogPostMini.js b/components/BlogPostMini.js
index 9955c5b8..92ed7e2f 100644
--- a/components/BlogPostMini.js
+++ b/components/BlogPostMini.js
@@ -3,10 +3,10 @@ import BLOG from '@/blog.config'
const BlogPostMini = ({ post }) => {
return (
+ className='md:flex w-full border dark:border-gray-500 my-2 duration-200 transform hover:scale-105 hover:shadow-2xl bg-white dark:bg-gray-800 dark:hover:bg-gray-700'>
{/* 封面图 */}
{post.page_cover && post.page_cover.length > 1 && (
-
+
)}
{post.summary}
-{BLOG.link}/article/{post.slug}
+ {/*{BLOG.link}/article/{post.slug}
*/} ) diff --git a/layouts/ArticleLayout.js b/layouts/ArticleLayout.js index ecefb559..997badaa 100644 --- a/layouts/ArticleLayout.js +++ b/layouts/ArticleLayout.js @@ -1,25 +1,20 @@ import TagItem from '@/components/TagItem' -import { NotionRenderer, Equation, Code, CollectionRow, Collection } from 'react-notion-x' +import { Code, Collection, CollectionRow, Equation, NotionRenderer } from 'react-notion-x' import BLOG from '@/blog.config' import formatDate from '@/lib/formatDate' import 'gitalk/dist/gitalk.css' import Comment from '@/components/Comment' import CommonHead from '@/components/CommonHead' -import TopNav from '@/components/TopNav' import Progress from '@/components/Progress' import { useRef } from 'react' import Image from 'next/image' -import Footer from '@/components/Footer' -import RightAside from '@/components/RightAside' import RewardButton from '@/components/RewardButton' -import RightWidget from '@/components/RightWidget' import { useTheme } from '@/lib/theme' import SideBar from '@/components/SideBar' import BlogPostMini from '@/components/BlogPostMini' import { useRouter } from 'next/router' import ShareButton from '@/components/ShareButton' import TopJumper from '@/components/TopJumper' -import TocBar from '@/components/TocBar' const mapPageUrl = id => { return 'https://www.notion.so/' + id.replace(/-/g, '') @@ -56,7 +51,7 @@ const ArticleLayout = ({