Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

aaron/Add DBot banner to Binary Bot #2257

Merged
merged 12 commits into from
May 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add DBot banner to Binary Bot
  • Loading branch information
aaimio committed Dec 20, 2019
commit 735635895f0c801b8bc59f7b73d34e0545bcc046
58 changes: 57 additions & 1 deletion static/css/bot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,60 @@ label {

.notifyjs-corner {
z-index: 10001 !important;
}
}

.dbot-banner {
align-items: center;
display: flex;
float: left;
height: calc(100% - 20px);
margin: 10px 0;

&__icon {
margin-right: 8px;
margin-left: 32px;
}
&__ad {
color: #fff;
margin-right: 32px;

&-title {
font-size: 14px;
line-height: 1.43;
}
&-subtitle {
font-size: 16px;
font-weight: bold;
line-height: 1.5;
}
}
&__button {
font-size: 14px;
background-color: #ff444f;
font-weight: bold;
width: 120px;

&:hover {
background: #eb3e48;
}
}
&__separator {
width: 2px;
height: 100%;
background-color: #17212c;
}
}

@media only screen and (max-width: 600px) {
.dbot-banner {
display: none;
}
}

@media only screen and (max-width: 769px) {
.dbot-banner {
&__separator {
display: none;
}
}
}
1 change: 1 addition & 0 deletions static/image/d-bot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions templates/bot.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,19 @@
</a>
</div>
</div>
<a href="https://deriv.app/bot" target="_blank">
<div class="dbot-banner">
<div class="dbot-banner__separator"></div>
<div class="dbot-banner__icon">
<img src="./image/d-bot.svg">
</div>
<div class="dbot-banner__ad">
<div class="dbot-banner__ad-title" data-i18n-text="Experience DBot"></div>
<div class="dbot-banner__ad-subtitle" data-i18n-text="Our new bot builder"></div>
</div>
<button class="dbot-banner__button" data-i18n-text="Try DBot"></button>
</div>
</a>
<div class="right-header show-on-load">
<div class="intro-login-logout">
<div id="account-list">
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy