From ee8ec2fc8d772916bc1a4affc4220b13656addb9 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Thu, 6 Aug 2020 00:16:52 -0500 Subject: [PATCH] Updated UI routes for logged out, Added news MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - UI routes for logged out, Added news --- app/javascript/gabsocial/features/ui/ui.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/javascript/gabsocial/features/ui/ui.js b/app/javascript/gabsocial/features/ui/ui.js index 1796159e..0f76c6c5 100644 --- a/app/javascript/gabsocial/features/ui/ui.js +++ b/app/javascript/gabsocial/features/ui/ui.js @@ -39,6 +39,7 @@ import ModalPage from '../../pages/modal_page' import SettingsPage from '../../pages/settings_page' import ProPage from '../../pages/pro_page' import ExplorePage from '../../pages/explore_page' +import NewsPage from '../../pages/news_page' import AboutPage from '../../pages/about_page' // import AuthPage from '../../pages/auth_page' @@ -74,6 +75,7 @@ import { ListEdit, ListTimeline, Mutes, + News, Notifications, PrivacyPolicy, ProTimeline, @@ -160,9 +162,16 @@ class SwitchingArea extends PureComponent { return ( - - + { + !!me && + + } + { + !me && + + } + @@ -172,6 +181,7 @@ class SwitchingArea extends PureComponent { +