|
|
|
@ -132,11 +132,12 @@ class SwitchingColumnsArea extends React.PureComponent { |
|
|
|
|
render () { |
|
|
|
|
const { children } = this.props; |
|
|
|
|
const { mobile } = this.state; |
|
|
|
|
const redirect = mobile ? <Redirect from='/' to='/timelines/home' exact /> : <Redirect from='/' to='/getting-started' exact />; |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<ColumnsAreaContainer ref={this.setRef} singleColumn={mobile}> |
|
|
|
|
<WrappedSwitch> |
|
|
|
|
<Redirect from='/' to='/getting-started' exact /> |
|
|
|
|
{redirect} |
|
|
|
|
<WrappedRoute path='/getting-started' component={GettingStarted} content={children} /> |
|
|
|
|
<WrappedRoute path='/keyboard-shortcuts' component={KeyboardShortcuts} content={children} /> |
|
|
|
|
<WrappedRoute path='/timelines/home' component={HomeTimeline} content={children} /> |
|
|
|
|