aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/App.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-06 15:18:08 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit011b8df08e9319944210d62a75b11fa9f62df236 (patch)
tree669c612fac462743ade9d2e4cfa88f74e2edc8a0 /vnext/src/App.js
parent96256e69b7041dfddebdde23d45c1c3aa5126de9 (diff)
layout fixes
Diffstat (limited to 'vnext/src/App.js')
-rw-r--r--vnext/src/App.js27
1 files changed, 16 insertions, 11 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 7f383900..626153e0 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -105,19 +105,28 @@ export default class App extends React.Component {
<nav id="global">
{user.uid > 0 ?
<Link to={{ pathname: '/' }}>
- <Icon name="ei-bell" size="s" /><span>Discuss</span>
+ <Icon name="ei-bell" size="s" /><span className="desktop">Discuss</span>
{
user.unreadCount &&
<span className="badge">{user.unreadCount}</span>
}
</Link>
:
- <Link to='/?media=1' rel="nofollow"><Icon name="ei-camera" size="s" />Photos</Link>
+ <Link to='/?media=1' rel="nofollow">
+ <Icon name="ei-camera" size="s" />
+ <span className="desktop">Photos</span>
+ </Link>
}
- <Link to={{ pathname: '/discover' }} rel="nofollow"><Icon name="ei-search" size="s" />Discover</Link>
+ <Link to={{ pathname: '/discover' }} rel="nofollow">
+ <Icon name="ei-search" size="s" />
+ <span className="desktop">Discover</span>
+ </Link>
{user.uid > 0 ?
- <Link to={{ pathname: '/post' }}><Icon name="ei-pencil" size="s" />Post</Link>
+ <Link to={{ pathname: '/post' }}>
+ <Icon name="ei-pencil" size="s" />
+ <span className="desktop">Post</span>
+ </Link>
:
<LoginButton title="Login" onAuth={this.auth} />
}
@@ -158,13 +167,9 @@ export default class App extends React.Component {
<Icon name="ei-bell" size="s" />
<span className="desktop">Discussions</span>
</Link>
- <Link to={`/${user.name}/?show=recomm`} rel="nofollow">
- <Icon name="ei-heart" size="s" />
- <span className="desktop">Recommendations</span>
- </Link>
- <Link to={`/${user.name}/?show=photos`} rel="nofollow">
- <Icon name="ei-camera" size="s" />
- <span className="desktop">Photos</span>
+ <Link to="/settings" rel="nofollow">
+ <Icon name="ei-gear" size="s" />
+ <span className="desktop">Settings</span>
</Link>
</aside>
</div>