From 0ff13b715889f06d4d5aef0b34055fd9b9299d64 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Thu, 31 Mar 2022 11:41:31 +0800 Subject: [PATCH] =?UTF-8?q?Footer=20=E7=89=88=E6=9C=AC=E5=8F=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/example/LayoutBase.js | 30 ++++++++++---------------- themes/fukasawa/components/SiteInfo.js | 4 ++-- themes/hexo/components/Footer.js | 9 ++++---- themes/medium/components/Footer.js | 7 +++--- themes/next/components/Footer.js | 9 ++++---- 5 files changed, 24 insertions(+), 35 deletions(-) diff --git a/themes/example/LayoutBase.js b/themes/example/LayoutBase.js index 36c92cd1..96f635a6 100644 --- a/themes/example/LayoutBase.js +++ b/themes/example/LayoutBase.js @@ -82,29 +82,11 @@ const LayoutBase = props => { {' '} {BLOG.AUTHOR} . -
- - Powered by{' '} - - Notion - {' '} - &{' '} - - NotionNext {BLOG.VERSION} - - . - {BLOG.BEI_AN && ( <> @@ -127,6 +109,16 @@ const LayoutBase = props => {

{meta?.title || siteInfo.title}

+ + Powered by{' '} + + NotionNext {BLOG.VERSION} + + . + ) diff --git a/themes/fukasawa/components/SiteInfo.js b/themes/fukasawa/components/SiteInfo.js index 453ec099..fa342c0d 100644 --- a/themes/fukasawa/components/SiteInfo.js +++ b/themes/fukasawa/components/SiteInfo.js @@ -8,14 +8,14 @@ function SiteInfo ({ title }) { ) diff --git a/themes/hexo/components/Footer.js b/themes/hexo/components/Footer.js index 44a19a55..1a30536f 100644 --- a/themes/hexo/components/Footer.js +++ b/themes/hexo/components/Footer.js @@ -9,19 +9,18 @@ const Footer = ({ title }) => { ) } diff --git a/themes/medium/components/Footer.js b/themes/medium/components/Footer.js index 89cf7f47..d6ae7491 100644 --- a/themes/medium/components/Footer.js +++ b/themes/medium/components/Footer.js @@ -9,18 +9,17 @@ const Footer = ({ title }) => { ) } diff --git a/themes/next/components/Footer.js b/themes/next/components/Footer.js index 74956e37..8247f344 100644 --- a/themes/next/components/Footer.js +++ b/themes/next/components/Footer.js @@ -7,20 +7,19 @@ const Footer = ({ title }) => { const startYear = BLOG.SINCE && BLOG.SINCE !== currentYear && BLOG.SINCE + '-' return ( ) }