Hiding Pro Feed, Explore page for now
• Hiding: - Pro Feed, Explore page for now
This commit is contained in:
parent
f3b57b5810
commit
643026e885
@ -51,7 +51,7 @@ class FooterBar extends PureComponent {
|
||||
active: currentPathname === '/groups',
|
||||
},
|
||||
{
|
||||
to: '/explore',
|
||||
href: 'https://trends.gab.com',
|
||||
icon: 'trends',
|
||||
title: 'Trends',
|
||||
active: currentPathname === '/explore',
|
||||
|
@ -107,7 +107,7 @@ class NavigationBar extends ImmutablePureComponent {
|
||||
<div className={[_s.default, _s.height53PX, _s.pl15, _s.flexRow, _s.alignItemsCenter, _s.justifyContentSpaceBetween].join(' ')}>
|
||||
|
||||
<NavigationBarButton title='Home' icon='home' to='/home' />
|
||||
<NavigationBarButton title='Explore' icon='explore' to='/explore' />
|
||||
{ /* <NavigationBarButton title='Explore' icon='explore' to='/explore' /> */ }
|
||||
|
||||
<NavigationBarButtonDivider />
|
||||
|
||||
|
@ -79,8 +79,8 @@ class WhoToFollowPanel extends ImmutablePureComponent {
|
||||
<PanelLayout
|
||||
noPadding
|
||||
title={intl.formatMessage(messages.title)}
|
||||
footerButtonTitle={intl.formatMessage(messages.show_more)}
|
||||
footerButtonTo='/explore'
|
||||
// footerButtonTitle={intl.formatMessage(messages.show_more)}
|
||||
// footerButtonTo='/explore'
|
||||
>
|
||||
<div className={_s.default}>
|
||||
{
|
||||
|
@ -139,11 +139,11 @@ class Sidebar extends ImmutablePureComponent {
|
||||
icon: 'list',
|
||||
to: '/lists',
|
||||
},
|
||||
{
|
||||
title: 'Explore',
|
||||
icon: 'explore',
|
||||
to: '/explore',
|
||||
},
|
||||
// {
|
||||
// title: 'Explore',
|
||||
// icon: 'explore',
|
||||
// to: '/explore',
|
||||
// },
|
||||
{
|
||||
title: 'More',
|
||||
icon: 'more',
|
||||
@ -169,11 +169,11 @@ class Sidebar extends ImmutablePureComponent {
|
||||
]
|
||||
|
||||
const exploreItems = [
|
||||
{
|
||||
title: 'Pro Feed',
|
||||
icon: 'circle',
|
||||
to: '/timeline/pro',
|
||||
},
|
||||
// {
|
||||
// title: 'Pro Feed',
|
||||
// icon: 'circle',
|
||||
// to: '/timeline/pro',
|
||||
// },
|
||||
{
|
||||
title: 'Chat',
|
||||
icon: 'chat',
|
||||
|
@ -39,7 +39,7 @@ const messages = defineMessages({
|
||||
chat: { id: 'tabs_bar.chat', defaultMessage: 'Chat' },
|
||||
help: { id: 'getting_started.help', defaultMessage: 'Help' },
|
||||
display: { id: 'display_options', defaultMessage: 'Display Options' },
|
||||
pro: { id: 'pro_feed', defaultMessage: 'Pro Feed' },
|
||||
proFeed: { id: 'pro_feed', defaultMessage: 'Pro Feed' },
|
||||
})
|
||||
|
||||
const mapStateToProps = (state) => ({
|
||||
@ -131,12 +131,12 @@ class SidebarXS extends ImmutablePureComponent {
|
||||
onClick: this.handleSidebarClose,
|
||||
title: intl.formatMessage(messages.search),
|
||||
},
|
||||
{
|
||||
icon: 'circle',
|
||||
to: '/timeline/pro',
|
||||
onClick: this.handleSidebarClose,
|
||||
title: intl.formatMessage(messages.pro),
|
||||
},
|
||||
// {
|
||||
// icon: 'circle',
|
||||
// to: '/timeline/pro',
|
||||
// onClick: this.handleSidebarClose,
|
||||
// title: intl.formatMessage(messages.proFeed),
|
||||
// },
|
||||
{
|
||||
icon: 'cog',
|
||||
href: '/settings/preferences',
|
||||
|
@ -152,12 +152,12 @@ class SwitchingArea extends PureComponent {
|
||||
<Redirect from='/' to='/home' exact />
|
||||
<WrappedRoute path='/home' exact page={HomePage} component={HomeTimeline} content={children} />
|
||||
|
||||
<WrappedRoute path='/explore' publicRoute page={ExplorePage} component={Explore} content={children} componentParams={{ title: 'Explore' }} />
|
||||
{ /* <WrappedRoute path='/explore' publicRoute page={ExplorePage} component={Explore} content={children} componentParams={{ title: 'Explore' }} /> */ }
|
||||
|
||||
<WrappedRoute path='/compose' exact page={BasicPage} component={Compose} content={children} componentParams={{ title: 'Compose' }} />
|
||||
|
||||
<WrappedRoute path='/timeline/all' exact page={CommunityPage} component={CommunityTimeline} content={children} componentParams={{ title: 'Community Feed' }} />
|
||||
<WrappedRoute path='/timeline/pro' exact page={ProPage} component={ProTimeline} content={children} componentParams={{ title: 'Pro Feed' }} />
|
||||
{ /* <WrappedRoute path='/timeline/pro' exact page={ProPage} component={ProTimeline} content={children} componentParams={{ title: 'Pro Feed' }} /> */ }
|
||||
|
||||
<WrappedRoute path='/groups' exact page={GroupsPage} component={GroupsCollection} content={children} componentParams={{ activeTab: 'featured' }} />
|
||||
<WrappedRoute path='/groups/new' exact page={GroupsPage} component={GroupsCollection} content={children} componentParams={{ activeTab: 'new' }} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user