From 93a33c12ee60261507e0aa6a4c30f70714a9d99f Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Tue, 12 Oct 2021 18:07:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E9=A1=B5=E5=8A=A0=E5=85=A5Fo?= =?UTF-8?q?oter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Footer.js | 10 ++++++---- layouts/ArticleLayout.js | 8 +++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/components/Footer.js b/components/Footer.js index 89eb99e3..ce1f63a7 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -6,12 +6,12 @@ const Footer = ({ fullWidth = true }) => { const y = d.getFullYear() return ( ) } diff --git a/layouts/ArticleLayout.js b/layouts/ArticleLayout.js index 284fd160..47b8b7b8 100644 --- a/layouts/ArticleLayout.js +++ b/layouts/ArticleLayout.js @@ -16,6 +16,7 @@ import JumpToTop from '@/components/JumpToTop' import CommonHead from '@/components/CommonHead' import TopNav from '@/components/TopNav' import SideBar from '@/components/SideBar' +import Footer from '@/components/Footer' const mapPageUrl = id => { return 'https://www.notion.so/' + id.replace(/-/g, '') @@ -71,7 +72,7 @@ const ArticleLayout = ({
+ className='mb-10 overflow-x-auto px-10 py-10 max-w-5xl mx-auto bg-white dark:border-gray-700 dark:bg-gray-700'> {/* 文章标题 */}

{frontMatter.title} @@ -155,6 +156,11 @@ const ArticleLayout = ({ {/* 评论互动 */}

+ +
+
+ {/* 下方菜单组 */}