From 265cdbb5488d6ea988eef22fbdcec96ec7b3a467 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Wed, 13 Jan 2021 23:23:01 -0500 Subject: [PATCH] Updated HomePage to show Lists, Suggestions, Groups in sidebar if PRO (for now) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - HomePage to show Lists, Suggestions, Groups in sidebar if PRO (for now) --- app/javascript/gabsocial/pages/home_page.js | 27 ++++++++++++--------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/app/javascript/gabsocial/pages/home_page.js b/app/javascript/gabsocial/pages/home_page.js index d85d619a..858e372d 100644 --- a/app/javascript/gabsocial/pages/home_page.js +++ b/app/javascript/gabsocial/pages/home_page.js @@ -76,6 +76,21 @@ class HomePage extends React.PureComponent { const { lazyLoaded } = this.state const title = intl.formatMessage(messages.home) + const sidebarLayout = [ + UserPanel, + ProgressPanel, + , + , + , + ] + + if (this.props.isPro) { + sidebarLayout.push() + sidebarLayout.push() + sidebarLayout.push() + } + + sidebarLayout.push(LinkFooter) return ( , - , - , - // , - // , - // , - LinkFooter, - ]} + layout={sidebarLayout} >