Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/removing_ruby_junk

This commit is contained in:
mgabdev
2020-12-21 18:38:35 -05:00
4 changed files with 10 additions and 2 deletions

View File

@@ -170,6 +170,7 @@ class DefaultNavigationBar extends ImmutablePureComponent {
<NavigationBarButton title='Explore' icon='explore' to='/explore' />
<NavigationBarButton title='News' icon='news' to='/news' />
<NavigationBarButton title='Groups' icon='group' to='/groups' />
<NavigationBarButton title='TV' icon='tv' href='https://tv.gab.com' />
<div className={[_s.d, _s.h20PX, _s.w1PX, _s.mr10, _s.ml10, _s.bgNavigationBlend].join(' ')} />
@@ -241,6 +242,7 @@ class DefaultNavigationBar extends ImmutablePureComponent {
icon={action.icon}
count={action.count}
to={action.to || undefined}
href={action.href || undefined}
onClick={action.onClick ? () => action.onClick() : undefined}
key={`action-btn-${i}`}
isXS

View File

@@ -81,6 +81,10 @@ class HomePage extends React.PureComponent {
page='home'
title={title}
actions={[
{
icon: 'tv',
href: 'https://tv.gab.com',
},
{
icon: 'chat',
to: '/messages',