diff --git a/src/indexPage/index.js b/src/indexPage/index.js index 43ca6d388c..bee82f7f6a 100644 --- a/src/indexPage/index.js +++ b/src/indexPage/index.js @@ -16,7 +16,7 @@ import BotLanding from './react-components/bot-landing'; const today = new Date().getTime(); const expirationDate = today + 1000 * 60 * 60 * 24 * 21; -const elements = ['#notification-banner', '#main', '#footer', '#header', '#topbar']; +const elements = ['#notification-banner', '#main', '#footer', '#header']; const temp = getStorage('movetoderiv'); const renderBanner = () => { ReactDOM.render(, document.getElementById('movetoderiv')); @@ -62,13 +62,13 @@ const loginCheck = () => { if (endpoint()) return; moveToDeriv(); loadLang(); + $('.show-on-load').show(); if (temp) { if (getTokenList().length) { window.location.pathname = `${window.location.pathname.replace(/\/+$/, '')}/bot.html`; document.getElementById('bot-main').classList.remove('hidden'); } else { oauthLogin(() => { - $('.show-on-load').show(); $('.barspinner').hide(); renderElements(); GTM.init(); diff --git a/static/css/_landing.scss b/static/css/_landing.scss index 6001d97882..c9ca67290a 100644 --- a/static/css/_landing.scss +++ b/static/css/_landing.scss @@ -63,7 +63,7 @@ $header-color : #333333; } .hero { - margin-top: -110px; + margin-top: -105px; @include for-size(mobile) { margin-top: unset; } diff --git a/templates/index.mustache b/templates/index.mustache index ee941c0587..3db20e9260 100644 --- a/templates/index.mustache +++ b/templates/index.mustache @@ -18,12 +18,12 @@