@ -70,30 +70,28 @@ export default class GettingStarted extends ImmutablePureComponent {
navItems . push (
navItems . push (
< ColumnLink key = '4' icon = 'star' text = { intl . formatMessage ( messages . favourites ) } to = '/favourites' / > ,
< ColumnLink key = '4' icon = 'star' text = { intl . formatMessage ( messages . favourites ) } to = '/favourites' / > ,
< ColumnLink key = '5' icon = 'thumb-tack' text = { intl . formatMessage ( messages . pins ) } to = '/pinned' / > ,
< ColumnLink key = '5' icon = 'bars' text = { intl . formatMessage ( messages . lists ) } to = '/lists' / >
< ColumnLink key = '6' icon = 'bars' text = { intl . formatMessage ( messages . lists ) } to = '/lists' / >
) ;
) ;
if ( myAccount . get ( 'locked' ) ) {
if ( myAccount . get ( 'locked' ) ) {
navItems . push ( < ColumnLink key = ' 7 ' icon = 'users' text = { intl . formatMessage ( messages . follow _requests ) } to = '/follow_requests' / > ) ;
navItems . push ( < ColumnLink key = ' 6 ' icon = 'users' text = { intl . formatMessage ( messages . follow _requests ) } to = '/follow_requests' / > ) ;
}
}
navItems . push (
< ColumnLink key = '8' icon = 'volume-off' text = { intl . formatMessage ( messages . mutes ) } to = '/mutes' / > ,
< ColumnLink key = '9' icon = 'ban' text = { intl . formatMessage ( messages . blocks ) } to = '/blocks' / >
) ;
if ( multiColumn ) {
if ( multiColumn ) {
navItems . push ( < ColumnLink key = ' 10 ' icon = 'question' text = { intl . formatMessage ( messages . keyboard _shortcuts ) } to = '/keyboard-shortcuts' / > ) ;
navItems . push ( < ColumnLink key = '7' icon = 'question' text = { intl . formatMessage ( messages . keyboard _shortcuts ) } to = '/keyboard-shortcuts' / > ) ;
}
}
navItems . push ( < ColumnLink key = '8' icon = 'book' text = { intl . formatMessage ( messages . info ) } href = '/about/more' / > ) ;
return (
return (
< Column icon = 'asterisk' heading = { intl . formatMessage ( messages . heading ) } hideHeadingOnMobile >
< Column icon = 'asterisk' heading = { intl . formatMessage ( messages . heading ) } hideHeadingOnMobile >
< div className = 'getting-started__wrapper' >
< div className = 'getting-started__wrapper' >
< ColumnSubheading text = { intl . formatMessage ( messages . navigation _subheading ) } / >
< ColumnSubheading text = { intl . formatMessage ( messages . navigation _subheading ) } / >
{ navItems }
{ navItems }
< ColumnSubheading text = { intl . formatMessage ( messages . settings _subheading ) } / >
< ColumnSubheading text = { intl . formatMessage ( messages . settings _subheading ) } / >
< ColumnLink icon = 'book' text = { intl . formatMessage ( messages . info ) } href = '/about/more' / >
< ColumnLink icon = 'thumb-tack' text = { intl . formatMessage ( messages . pins ) } to = '/pinned' / >
< ColumnLink icon = 'volume-off' text = { intl . formatMessage ( messages . mutes ) } to = '/mutes' / >
< ColumnLink icon = 'ban' text = { intl . formatMessage ( messages . blocks ) } to = '/blocks' / >
< ColumnLink icon = 'cog' text = { intl . formatMessage ( messages . preferences ) } href = '/settings/preferences' / >
< ColumnLink icon = 'cog' text = { intl . formatMessage ( messages . preferences ) } href = '/settings/preferences' / >
< ColumnLink icon = 'sign-out' text = { intl . formatMessage ( messages . sign _out ) } href = '/auth/sign_out' method = 'delete' / >
< ColumnLink icon = 'sign-out' text = { intl . formatMessage ( messages . sign _out ) } href = '/auth/sign_out' method = 'delete' / >
< / d i v >
< / d i v >