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

Commit 84208d1

Browse files
fix: all other links + homepage changes
1 parent a91aa59 commit 84208d1

File tree

8 files changed

+22
-21
lines changed

8 files changed

+22
-21
lines changed

src/cashier/deposit.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function init_state(root) {
101101
list: [],
102102
current: {},
103103
},
104-
binary_url: getBinaryUrl('payment-agent.html'),
104+
binary_url: getBinaryUrl('payment-agent'),
105105
};
106106

107107
state.route.update = route => { state.route.value = route; };

src/index.html

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,14 @@
8181
<div id="content">
8282
<div class="container">
8383
<div class="text">
84-
<h1>Welcome to Binary.com Webtrader</h1>
85-
<p>Webtrader is an advanced trading platform that's fully-customisable according to your personal preferences.</p>
86-
<p>Enjoy an intuitive trading interface with advanced functionality that lets you monitor all of your favourite assets and markets at the same time, as well as essential charts, the asset index, trading times, and historical data. Most importantly, you get to choose what you want to see on your screen.</p>
87-
<p>
88-
<b>Features</b>
89-
</p>
90-
<ul class='bullet'>
91-
<li>Full-screen trading interface</li>
92-
<li>Various customisable features like loading and arranging assets, charting, and other resources however you see fit</li>
93-
<li>Robust and secure platform</li>
94-
<li>Accessible from any web browser in 13 languages</li>
95-
</ul>
84+
<h1>Welcome to WebTrader</h1>
85+
<p>WebTrader is our customisable trading platform where you can trade on all your favourite assets simultaneously.</p>
86+
<p>Enjoy an intuitive, full-screen interface with a host of features that can be tailored according to your preference. From charts to asset index, trading times to historical data, you choose what you want to see on your screen.</p>
87+
<p>WebTrader is accessible from any web browser and is available in 12 languages.</p>
88+
<h2>Copy trading on WebTrader</h2>
89+
<p>WebTrader has a built-in copy trading feature that allows you to replicate the trades of other experienced traders. You can allow other traders to copy your trades, too. Available for real accounts only.</p>
90+
<p class="hint hint-title"><b>Note:</b></p>
91+
<p class="hint">To ensure that all trades are executed properly, do not disable copy trading before your contract(s) expire. <a id="term-link" target="_blank" href="#">We won’t be liable</a> if your copy trades aren’t executed.</p>
9692
<br>
9793
<br>
9894
<button onclick="openTradingPage()">Start Trading</button>

src/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ var contact_us_el = document.getElementById('contact-us');
22
var logo_el = document.getElementById('logo');
33
var footer_eu_el = document.getElementById('footer-eu');
44
var footer_non_eu_el = document.getElementById('footer-non-eu');
5+
var term_link_el = document.getElementById('term-link');
56

67
var href = window.location.href;
78
var default_app_id = 11;
@@ -11,8 +12,9 @@ var params_str = href.indexOf('#') != -1 ? href.split('#')[1] : href.split('?')[
1112
var lang = (params_str && params_str.match(/lang=[a-zA-Z]+/g) || []).map(function (val) { return val.split('=')[1] })[0] ||
1213
(local_storage.get('i18n') && local_storage.get('i18n').value) || 'en';
1314

14-
contact_us_el.href = getBinaryUrl('contact.html');
15-
logo_el.href = getBinaryUrl('home.html');
15+
contact_us_el.href = getBinaryUrl('contact');
16+
logo_el.href = getBinaryUrl('home');
17+
term_link_el.href = getBinaryUrl('terms-and-conditions')
1618

1719
checkRedirectToken(params_str);
1820

src/index.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ body {
1010
display: block;
1111
width: 100%;
1212
}
13+
.hint-title {
14+
margin: 0;
15+
}
1316
.fr {
1417
margin: auto;
1518
max-width: 1200px;

src/navigation/navigation.es6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const initLoginButton = (root) => {
170170
const lockedIds = _.filter(loginIds, { s_disabled:true }).map(acc => acc.id).join(',');
171171
$.growl.error({
172172
fixed: true,
173-
message:`<a href='${getBinaryUrl('contact.html')}' target='_blank'>
173+
message:`<a href='${getBinaryUrl('contact')}' target='_blank'>
174174
${'Your account (%) is locked, please contact customer support for more info.'.i18n().replace('%', lockedIds)}
175175
</a>`
176176
});
@@ -237,8 +237,8 @@ const initLang = (root) => {
237237
const contact_us_el = document.getElementById('contact-us');
238238
const logo_container = document.getElementById('logo-container');
239239

240-
contact_us_el.href = getBinaryUrl('contact.html');
241-
logo_container.href = getBinaryUrl('home.html');
240+
contact_us_el.href = getBinaryUrl('contact');
241+
logo_container.href = getBinaryUrl('home');
242242

243243
rv.bind(root[0], state);
244244

src/oauth/login.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const init_state = (root, win) => {
6868
login();
6969
},
7070
onRegister: () => {
71-
const register_link = getBinaryUrl('home.html');
71+
const register_link = getBinaryUrl('home');
7272
window.open(register_link, '_blank');
7373
},
7474
};

src/selfexclusion/selfexclusion.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const settingsData = {
9090
is_gamstop_client: null,
9191
timeout_until_date: null,
9292
timeout_until_time: null,
93-
binary_url_contact: getBinaryUrl('contact.html'),
93+
binary_url_contact: getBinaryUrl('contact'),
9494
trimString: (event, scope) => {
9595
const $el = $(event.target),
9696
decimals = currencyFractionalDigits(),

src/tc/tc.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const init = () => {
5252
//This helps in showing multiple dialog windows in modal form
5353
$('body').append(win.dialog('widget'));
5454
win.dialog('open');
55-
const binary_url_tc = getBinaryUrl('terms-and-conditions.html');
55+
const binary_url_tc = getBinaryUrl('terms-and-conditions');
5656
Array.from(document.getElementsByClassName('tc-link')).forEach((a_el) => a_el.href = binary_url_tc);
5757
}
5858
}

0 commit comments

Comments
 (0)