forked from treehouse/mastodon
Changed to display the "Explore" in "Getting-Started" at all resolutions (#17762)
parent
fa47c37f13
commit
71e7d38421
|
@ -98,12 +98,22 @@ class GettingStarted extends ImmutablePureComponent {
|
||||||
if (multiColumn) {
|
if (multiColumn) {
|
||||||
navItems.push(
|
navItems.push(
|
||||||
<ColumnSubheading key='header-discover' text={intl.formatMessage(messages.discover)} />,
|
<ColumnSubheading key='header-discover' text={intl.formatMessage(messages.discover)} />,
|
||||||
<ColumnLink key='community_timeline' icon='users' text={intl.formatMessage(messages.community_timeline)} to='/public/local' />,
|
);
|
||||||
<ColumnLink key='public_timeline' icon='globe' text={intl.formatMessage(messages.public_timeline)} to='/public' />,
|
height += 34;
|
||||||
|
}
|
||||||
|
|
||||||
|
navItems.push(
|
||||||
<ColumnLink key='explore' icon='hashtag' text={intl.formatMessage(messages.explore)} to='/explore' />,
|
<ColumnLink key='explore' icon='hashtag' text={intl.formatMessage(messages.explore)} to='/explore' />,
|
||||||
);
|
);
|
||||||
|
height += 48;
|
||||||
|
|
||||||
height += 34 + 48*3;
|
if (multiColumn) {
|
||||||
|
navItems.push(
|
||||||
|
<ColumnLink key='community_timeline' icon='users' text={intl.formatMessage(messages.community_timeline)} to='/public/local' />,
|
||||||
|
<ColumnLink key='public_timeline' icon='globe' text={intl.formatMessage(messages.public_timeline)} to='/public' />,
|
||||||
|
);
|
||||||
|
|
||||||
|
height += 48*2;
|
||||||
|
|
||||||
navItems.push(
|
navItems.push(
|
||||||
<ColumnSubheading key='header-personal' text={intl.formatMessage(messages.personal)} />,
|
<ColumnSubheading key='header-personal' text={intl.formatMessage(messages.personal)} />,
|
||||||
|
|
Loading…
Reference in New Issue