From e8a8ef3b89aa0fc8d2d5e83fd35795f488463d0a Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Thu, 3 Mar 2022 16:27:51 +0800 Subject: [PATCH] =?UTF-8?q?Medium=20=E9=80=82=E9=85=8D=E5=A4=9C=E9=97=B4?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/Medium/LayoutBase.js | 4 ++-- themes/Medium/LayoutSlug.js | 2 +- themes/Medium/components/Catalog.js | 2 +- themes/Medium/components/InfoCard.js | 4 ++-- themes/Medium/components/LogoBar.js | 2 +- themes/Medium/components/SearchInput.js | 8 ++++---- themes/Medium/components/TopNavBar.js | 6 +++--- themes/index.js | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/themes/Medium/LayoutBase.js b/themes/Medium/LayoutBase.js index 1e06c4aa..4a64de32 100644 --- a/themes/Medium/LayoutBase.js +++ b/themes/Medium/LayoutBase.js @@ -23,7 +23,7 @@ const LayoutBase = props => { const router = useRouter() return ( -
+
{/* 桌面端左侧菜单 */} @@ -39,7 +39,7 @@ const LayoutBase = props => {
{/* 桌面端右侧 */} -
+
{slotRight}
diff --git a/themes/Medium/LayoutSlug.js b/themes/Medium/LayoutSlug.js index 85ddff62..ad12f872 100644 --- a/themes/Medium/LayoutSlug.js +++ b/themes/Medium/LayoutSlug.js @@ -83,7 +83,7 @@ export const LayoutSlug = props => { showInfoCard={true} slotRight={slotRight} > -

{post?.title}

+

{post?.title}

<> diff --git a/themes/Medium/components/Catalog.js b/themes/Medium/components/Catalog.js index eb715e66..3c3bbebc 100644 --- a/themes/Medium/components/Catalog.js +++ b/themes/Medium/components/Catalog.js @@ -62,7 +62,7 @@ const Catalog = ({ toc }) => { { className='rounded-full' />
-
{BLOG.AUTHOR}
-
{BLOG.BIO}
+
{BLOG.AUTHOR}
+
{BLOG.BIO}
diff --git a/themes/Medium/components/LogoBar.js b/themes/Medium/components/LogoBar.js index c4fb5b1d..869129c9 100644 --- a/themes/Medium/components/LogoBar.js +++ b/themes/Medium/components/LogoBar.js @@ -6,7 +6,7 @@ export default function LogoBar () {
- {BLOG.TITLE} + {BLOG.TITLE}
diff --git a/themes/Medium/components/SearchInput.js b/themes/Medium/components/SearchInput.js index 505a085d..a04e3345 100644 --- a/themes/Medium/components/SearchInput.js +++ b/themes/Medium/components/SearchInput.js @@ -74,14 +74,14 @@ const SearchInput = ({ currentTag, currentSearch, cRef, className }) => { defaultValue={currentSearch} /> -
- +
{(showClean && -
- +
+
)}
diff --git a/themes/Medium/components/TopNavBar.js b/themes/Medium/components/TopNavBar.js index 89ebb857..fcbb84fc 100644 --- a/themes/Medium/components/TopNavBar.js +++ b/themes/Medium/components/TopNavBar.js @@ -12,7 +12,7 @@ export default function TopNavBar (props) { const router = useRouter() return