From 0baddd241a528e342cfbeb82d660dc18932b557c Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Thu, 7 Oct 2021 19:31:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=E9=A2=9C=E8=89=B2=E6=AF=94?= =?UTF-8?q?=E4=BE=8B=E5=BE=AE=E8=B0=83=EF=BC=8C=E7=A4=BE=E4=BA=A4=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=8A=A0=E5=8A=A8=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/SideBar.js | 28 +++++++++++++++------------- components/SocialButton.js | 22 +++++++++++++++------- components/TocBar.js | 2 +- layouts/ArticleLayout.js | 4 ++-- 4 files changed, 33 insertions(+), 23 deletions(-) diff --git a/components/SideBar.js b/components/SideBar.js index 7482d213..397be453 100644 --- a/components/SideBar.js +++ b/components/SideBar.js @@ -45,17 +45,17 @@ const SideBar = ({ tags, currentTag, post }) => { className={(collapse ? '-ml-80 ' : 'shadow-2xl xl:shadow-none ') + ' dark:bg-gray-800 bg-white sidebar h-full w-72 duration-500 ease-in-out'}> {/* Logo */} -
+
- {BLOG.title} +
{BLOG.title}
-  Fuzhou, China +  Fuzhou, China
{/* 搜索框 */} -
+
{
{/* 菜单 */} -
{post && ( -
+
)} diff --git a/components/SocialButton.js b/components/SocialButton.js index 9b88a7b9..806d3917 100644 --- a/components/SocialButton.js +++ b/components/SocialButton.js @@ -3,13 +3,21 @@ import React from 'react' const SocialButton = () => { return <>
- - - - + +
+ + +
+ + +
+ + + } diff --git a/components/TocBar.js b/components/TocBar.js index dce001bc..ac73c0d5 100644 --- a/components/TocBar.js +++ b/components/TocBar.js @@ -48,7 +48,7 @@ const TocBar = ({ toc }) => { }, throttleMs) return
-
+
文章目录