diff options
author | Vitaly Takmazov | 2018-09-18 15:41:19 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:53 +0300 |
commit | d793cc8f85fc1d45b6d98a7ae52fd8e99a885f14 (patch) | |
tree | 95ca213d6d9d310b84c3ee66c8529272e61e6b47 | |
parent | 2225e9a15d9330df0fae1615b6d561bc54872068 (diff) |
LoadingView
-rw-r--r-- | vnext/src/index.js | 23 | ||||
-rw-r--r-- | vnext/src/views/index.html | 11 |
2 files changed, 22 insertions, 12 deletions
diff --git a/vnext/src/index.js b/vnext/src/index.js index 74e36d84..1180d303 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -2,9 +2,30 @@ import React from 'react'; import ReactDOM from 'react-dom'; import Loadable from 'react-loadable'; +function LoadingView(props) { + return ( + <div id="body"> + <div id="header"> + <div id="header_wrapper"> + <div id="logo"> + <a href="/">Juick</a> + </div> + <div id="search"> + <form> + <input name="search" className="text" placeholder="Search..." /> + </form> + </div> + <nav id="global"></nav> + </div> + </div> + <div id="wrapper"></div> + </div> + ); +} + const Juick = Loadable({ loader: () => import('./App'), - loading: () => <div>Loading...</div> + loading: LoadingView }); const JuickApp = () => ( diff --git a/vnext/src/views/index.html b/vnext/src/views/index.html index f9fb7e72..ba80b464 100644 --- a/vnext/src/views/index.html +++ b/vnext/src/views/index.html @@ -63,17 +63,6 @@ <a href="/help/contacts" rel="nofollow">Contacts</a> · <a href="/help/tos" rel="nofollow">TOS</a> </div> - <div id="footer-social"> - <a href="https://twitter.com/Juick" rel="nofollow"> - <Icon name="ei-sc-twitter" size="m" /> - </a> - <a href="https://vk.com/juick" rel="nofollow"> - <Icon name="ei-sc-vk" size="m" /> - </a> - <a href="https://www.facebook.com/JuickCom" rel="nofollow"> - <Icon name="ei-sc-facebook" size="m" /> - </a> - </div> <div id="footer-left">juick.com © 2008-2018 <br /> <!-- EXT_FOOTER --> |