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

Commit cb736dd

Browse files
changing file namings as per comments
1 parent 7538068 commit cb736dd

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

scripts/config/pages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = [
2525
['new_account/realws', 'app/new_account/real', 'default', 'Real Money Account Opening'],
2626
['new_account/virtualws', 'app/new_account/virtual', 'default', 'Create New Virtual-money Account'],
2727
['new_account/welcome', 'app/new_account/welcome_page', 'default', 'Welcome to Binary.com'],
28-
['new_account/welcomecr', 'app/new_account/welcome_page_cr', 'default', 'Welcome to Binary.com'],
28+
['new_account/welcome_onboarding', 'app/new_account/welcome_onboarding', 'default', 'Welcome to Binary.com'],
2929

3030
['resources', 'app/resources/index', 'default', 'Resources'],
3131
['resources/asset_indexws', 'app/resources/asset_index', 'full_width', 'Asset Index'],

src/javascript/app/base/binary_pages.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const FinancialAccOpening = require('../pages/user/new_account/financial_acc
4444
const RealAccOpening = require('../pages/user/new_account/real_acc_opening');
4545
const VirtualAccOpening = require('../pages/user/new_account/virtual_acc_opening');
4646
const WelcomePage = require('../pages/user/new_account/welcome_page');
47-
const WelcomePageCr = require('../pages/user/new_account/welcome_page_cr');
47+
const WelcomePageOnboarding = require('../pages/user/new_account/welcome_onboarding');
4848
const ResetPassword = require('../pages/user/reset_password');
4949
const TradingResetPassword = require('../pages/user/trading_reset_password');
5050
const SetCurrency = require('../pages/user/set_currency');
@@ -136,7 +136,7 @@ const pages_config = {
136136
two_factor_authentication: { module: TwoFactorAuthentication, is_authenticated: true },
137137
virtualws : { module: VirtualAccOpening, not_authenticated: true },
138138
welcome : { module: WelcomePage, is_authenticated: true, only_virtual: true },
139-
welcomecr : { module: WelcomePageCr, is_authenticated: true, only_virtual: true },
139+
welcome_onboarding : { module: WelcomePageOnboarding, is_authenticated: true, only_virtual: true },
140140
withdrawws : { module: PaymentAgentWithdraw, is_authenticated: true, only_real: true },
141141

142142
'affiliate-ib' : { module: AffiliatesIBLanding },

src/javascript/app/pages/user/new_account/virtual_acc_opening.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const State = require('../../../../_common/storage').State;
1414
const urlFor = require('../../../../_common/url').urlFor;
1515
const Utility = require('../../../../_common/utility');
1616
const isEuCountrySelected = require('../../../../_common/utility').isEuCountrySelected;
17-
const isBinaryApp = require('../../../../config').isBinaryApp;
1817
const ClientBase = require('../../../../_common/base/client_base');
18+
const isBinaryApp = require('../../../../config').isBinaryApp;
1919

2020
const VirtualAccOpening = (() => {
2121
const form = '#virtual-form';
@@ -182,7 +182,7 @@ const VirtualAccOpening = (() => {
182182
const { can_upgrade_to } = upgrade_info;
183183
if (is_unwelcome_uk) return urlFor('new_account/realws');
184184
if (can_upgrade_to.includes('svg') && residence !== 'au') {
185-
return urlFor('new_account/welcomecr');
185+
return urlFor('new_account/welcome_onboarding');
186186
}
187187
if (residence === 'au') return urlFor('user/metatrader');
188188

src/javascript/app/pages/user/new_account/welcome_page_cr.js renamed to src/javascript/app/pages/user/new_account/welcome_onboarding.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const showLoadingImage = require('../../../../_common/utility').showLoadingImage
66
const ClientBase = require('../../../../_common/base/client_base');
77
const urlFor = require('../../../../_common/url').urlFor;
88

9-
const WelcomePageCr = (() => {
9+
const WelcomePageOnboarding = (() => {
1010

1111
let welcome_container,
1212
is_virtual,
@@ -81,4 +81,4 @@ const WelcomePageCr = (() => {
8181
};
8282
})();
8383

84-
module.exports = WelcomePageCr;
84+
module.exports = WelcomePageOnboarding;

src/templates/app/new_account/welcome_page_cr.jsx renamed to src/templates/app/new_account/welcome_onboarding.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { SeparatorLine } from '../../_common/components/separator_line.jsx';
33

4-
const WelcomePageCr = () => {
4+
const WelcomePageOnboarding = () => {
55

66
const dropdown = 'images/pages/welcome/ddown.svg';
77
const options = [
@@ -75,4 +75,4 @@ const RenderOption = ({ option, dropdown }) => (
7575
</div>
7676
);
7777

78-
export default WelcomePageCr;
78+
export default WelcomePageOnboarding;

0 commit comments

Comments
 (0)