From 6b9bc9560042588315020a45cb41635fb2f910ee Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sat, 12 Feb 2022 11:22:06 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E5=A2=9E=E5=8A=A0=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/Medium/LayoutBase.js | 5 +- themes/Medium/LayoutSlug.js | 4 +- themes/Medium/components/Catalog.js | 88 ++++++++++++++++++++++++++++ themes/Medium/components/Progress.js | 43 ++++++++++++++ 4 files changed, 137 insertions(+), 3 deletions(-) create mode 100644 themes/Medium/components/Catalog.js create mode 100644 themes/Medium/components/Progress.js diff --git a/themes/Medium/LayoutBase.js b/themes/Medium/LayoutBase.js index 1ee367d09a1..5772a5e4db3 100644 --- a/themes/Medium/LayoutBase.js +++ b/themes/Medium/LayoutBase.js @@ -13,10 +13,10 @@ import CONFIG_MEDIUM from './config_medium' * @constructor */ const LayoutBase = props => { - const { children, meta, showInfoCard = true } = props + const { children, meta, showInfoCard = true, slotRight } = props return ( -
+
@@ -28,6 +28,7 @@ const LayoutBase = props => {
{ CONFIG_MEDIUM.WIDGET_REVOLVER_MAPS === 'true' && } + { slotRight }