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

Commit f1f0db3

Browse files
Merge pull request #3816 from yauheni-deriv/evgeniy/85000/clicking_on_create_demo_redirects_to_login_page
fix: clicking on create demo redirects to login page
2 parents bf7d05d + 8ca3b3f commit f1f0db3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/common/lang.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ export const getLanguageBase = (origin = '') => {
103103
return `https://deriv.com/${lang}`;
104104
case 'oauth':
105105
return `https://oauth.deriv.com/oauth2/authorize?app_id=16929&l=${lang}&brand=deriv`;
106+
case 'signup':
107+
return `https://deriv.com/${lang}/signup/`;
106108
case 'smart_trader':
107109
return `https://smarttrader.deriv.com/${lang}/trading.html`;
108110
case 'bot':

src/indexPage/react-components/binary-landing/Hero.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const Hero = ({isFromBinary}) => {
4949
<button className="l-btn-binary primary" onClick={() => window.open(getLanguageBase('deriv'),'_self')}>
5050
{translate('Explore Deriv')}
5151
</button>
52-
<button className="l-btn-binary" onClick={() => window.open(getLanguageBase('oauth'),'_self')}>
52+
<button className="l-btn-binary" onClick={() => window.open(getLanguageBase('signup'),'_self')}>
5353
{translate('Create a demo account')}
5454

5555
</button>

0 commit comments

Comments
 (0)
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