diff options
author | mayaeh <mayaeh@marimo-net.org> | 2022-03-13 23:01:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-13 15:01:30 +0100 |
commit | 71e7d384216a2300451bc6dc3b45f642e07298ef (patch) | |
tree | c26cc32dfc6c3011d9d693c98b090d1cd8d24b4a /app/javascript | |
parent | fa47c37f13c7fa4d38edd83818f681cf99d6ea9c (diff) |
Changed to display the "Explore" in "Getting-Started" at all resolutions (#17762)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/getting_started/index.js | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index 2a3b7c33c..a9000a3d9 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -98,12 +98,22 @@ class GettingStarted extends ImmutablePureComponent { if (multiColumn) { navItems.push( <ColumnSubheading key='header-discover' text={intl.formatMessage(messages.discover)} />, + ); + height += 34; + } + + navItems.push( + <ColumnLink key='explore' icon='hashtag' text={intl.formatMessage(messages.explore)} to='/explore' />, + ); + height += 48; + + 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' />, - <ColumnLink key='explore' icon='hashtag' text={intl.formatMessage(messages.explore)} to='/explore' />, ); - height += 34 + 48*3; + height += 48*2; navItems.push( <ColumnSubheading key='header-personal' text={intl.formatMessage(messages.personal)} />, |