Added trends.gab.com to header, tabs bar, sidebar, promo panel

This commit is contained in:
mgabdev
2019-10-21 20:03:09 -04:00
parent 8a9e73521e
commit 8088b9951a
6 changed files with 27 additions and 4 deletions

View File

@@ -32,6 +32,7 @@ const messages = defineMessages({
more: { id: 'sidebar.more', defaultMessage: 'More' },
partners: { id: 'promo.partners', defaultMessage: 'Affiliate Partners' },
pro: { id: 'promo.gab_pro', defaultMessage: 'Upgrade to GabPRO' },
trends: { id: 'promo.trends', defaultMessage: 'Trends' },
})
const mapStateToProps = state => {
@@ -150,6 +151,10 @@ class SidebarMenu extends ImmutablePureComponent {
<span className='sidebar-menu-item__title'>{intl.formatMessage(messages.pro)}</span>
</a>
}
<a className='sidebar-menu-item' href='https://trends.gab.com'>
<Icon id='signal' fixedWidth />
<span className='sidebar-menu-item__title'>{intl.formatMessage(messages.trends)}</span>
</a>
<a className='sidebar-menu-item' href='https://news.gab.com'>
<Icon id='align-left' fixedWidth />
<span className='sidebar-menu-item__title'>{intl.formatMessage(messages.news)}</span>