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

fix: clicking on create demo redirects to login page #3816

Merged
Show file tree
Hide file tree
Changes from all commits
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
fix: clicking on create demo redirects to login page
  • Loading branch information
“yauheni-kryzhyk-deriv” committed Feb 8, 2023
commit 8ca3b3ff9b0e1e4e059a138c127773dd53054467
2 changes: 2 additions & 0 deletions src/common/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ export const getLanguageBase = (origin = '') => {
return `https://deriv.com/${lang}`;
case 'oauth':
return `https://oauth.deriv.com/oauth2/authorize?app_id=16929&l=${lang}&brand=deriv`;
case 'signup':
return `https://deriv.com/${lang}/signup/`;
case 'smart_trader':
return `https://smarttrader.deriv.com/${lang}/trading.html`;
case 'bot':
Expand Down
2 changes: 1 addition & 1 deletion src/indexPage/react-components/binary-landing/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const Hero = ({isFromBinary}) => {
<button className="l-btn-binary primary" onClick={() => window.open(getLanguageBase('deriv'),'_self')}>
{translate('Explore Deriv')}
</button>
<button className="l-btn-binary" onClick={() => window.open(getLanguageBase('oauth'),'_self')}>
<button className="l-btn-binary" onClick={() => window.open(getLanguageBase('signup'),'_self')}>
{translate('Create a demo account')}

</button>
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