diff options
author | Vitaly Takmazov | 2022-11-03 22:22:23 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | 61a7ee6a966338fd9cb787f491f325abe0d00c3a (patch) | |
tree | 584b9a9babb3c0c6a0ad717b906dff6600bd1329 | |
parent | e9f4a48efd06d539eaaebd75880d569d6d093d58 (diff) |
Bring back Discover
-rw-r--r-- | vnext/src/App.js | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js index fab438bc..3bac74d2 100644 --- a/vnext/src/App.js +++ b/vnext/src/App.js @@ -144,25 +144,18 @@ export default function App({ footer }) { <span className="desktop">Login</span> </Link> } + <Link to={{ pathname: '/discover' }} rel="nofollow"> + <Icon name="ei-search" size="s" /> + <span className="desktop">Discover</span> + </Link> <Link to="/?show=discuss"> <Icon name="ei-bell" size="s" /> <span className="desktop">Discussions</span> </Link> - { - visitor.uid > 0 ? - <Link to={{ pathname: '/' }}> - <Icon name="ei-bell" size="s" /><span className="desktop">Discuss</span> - { - visitor.unreadCount && - <span className="badge">{visitor.unreadCount}</span> - } - </Link> - : - <Link to='/?media=1' rel="nofollow"> - <Icon name="ei-camera" size="s" /> - <span className="desktop">Photos</span> - </Link> - } + <Link to='/?media=1' rel="nofollow"> + <Icon name="ei-camera" size="s" /> + <span className="desktop">Photos</span> + </Link> </nav> } <div className="tags desktop"> |