aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-08-14 11:37:06 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commit647a11daa6cb73cc3f903c31335f7ca3a9e59d8b (patch)
tree3b5832005eb1e626e0f446c6f01cfeade044e5c9
parent864e079847207a9c8072ec5c425e28fd1d742dc9 (diff)
Show logo on first render
-rw-r--r--vnext/src/App.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 80b235ac..5d0cc832 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -108,9 +108,12 @@ export default function App() {
<div id="header_wrapper">
{
visitor.uid < 0 ?
- <nav id="global">
- <a href="/">Loading...</a>
- </nav>
+ <>
+ <div id="logo"><a href="/" /></div>
+ <nav id="global">
+ <a href="/">Loading...</a>
+ </nav>
+ </>
: visitor.uid > 0 ?
<UserLink user={visitor} />
: <div id="logo">