mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-30 12:20:35 +00:00
Changed to display the "Explore" in "Getting-Started" at all resolutions (#17762)
This commit is contained in:
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 a new issue