Added links for tv.gab.com in NavigationBar

• Added:
- links for tv.gab.com in NavigationBar
This commit is contained in:
mgabdev 2020-12-21 15:35:50 -05:00
parent f0d4e89279
commit abbcdc21d9
2 changed files with 6 additions and 0 deletions

View File

@ -168,6 +168,7 @@ class DefaultNavigationBar extends ImmutablePureComponent {
<NavigationBarButton title='Explore' icon='explore' to='/explore' /> <NavigationBarButton title='Explore' icon='explore' to='/explore' />
<NavigationBarButton title='News' icon='news' to='/news' /> <NavigationBarButton title='News' icon='news' to='/news' />
<NavigationBarButton title='Groups' icon='group' to='/groups' /> <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(' ')} /> <div className={[_s.d, _s.h20PX, _s.w1PX, _s.mr10, _s.ml10, _s.bgNavigationBlend].join(' ')} />
@ -237,6 +238,7 @@ class DefaultNavigationBar extends ImmutablePureComponent {
title={action.title} title={action.title}
icon={action.icon} icon={action.icon}
to={action.to || undefined} to={action.to || undefined}
href={action.href || undefined}
onClick={action.onClick ? () => action.onClick() : undefined} onClick={action.onClick ? () => action.onClick() : undefined}
key={`action-btn-${i}`} key={`action-btn-${i}`}
isXS isXS

View File

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