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