forked from deriv-com/deriv-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added derivez demo/real/static to tradershub/onboarding
- Loading branch information
1 parent
e1080db
commit 3e7ee6c
Showing
30 changed files
with
711 additions
and
60 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
packages/appstore/src/assets/svgs/trading-platform/ic-brand-derivez.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/cfd/src/Assets/svgs/trading-platform/ic-appstore-derivez.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import React from 'react'; | ||
import { getCFDPlatformLabel } from '@deriv/shared'; | ||
import { Text, Button, Icon, Popover } from '@deriv/components'; | ||
import { TPasswordBoxProps } from './props.types'; | ||
import { localize } from '@deriv/translations'; | ||
|
||
const PasswordBox = ({ platform, onClick }: TPasswordBoxProps) => ( | ||
<div className='cfd-trade-modal__password-box'> | ||
<div className='cfd-trade-modal__password-text'> | ||
<Popover | ||
alignment='right' | ||
message={localize( | ||
'Use these credentials to log in to your {{platform}} account on the website and mobile apps.', | ||
{ | ||
platform: getCFDPlatformLabel(platform), | ||
} | ||
)} | ||
classNameBubble='cfd-trade-modal__password-tooltip' | ||
zIndex={9999} | ||
> | ||
<Text size='xs'>***************</Text> | ||
</Popover> | ||
</div> | ||
<Popover | ||
className='cfd-trade-modal__password-popover' | ||
alignment='left' | ||
message={localize('Change Password')} | ||
relative_render | ||
zIndex={9999} | ||
> | ||
<Button | ||
className='cfd-trade-modal__password-action' | ||
transparent | ||
onClick={onClick} | ||
icon={ | ||
<Icon | ||
icon='IcEdit' | ||
className='da-article__learn-more-icon' | ||
custom_color='var(--text-less-prominent)' | ||
/> | ||
} | ||
/> | ||
</Popover> | ||
</div> | ||
); | ||
|
||
export default PasswordBox; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from 'react'; | ||
import { Text } from '@deriv/components'; | ||
import { CFDAccountCopy } from './cfd-account-copy'; | ||
|
||
export type TSpecBoxProps = { | ||
value: string | undefined; | ||
is_bold?: boolean; | ||
}; | ||
|
||
const SpecBox = ({ value, is_bold }: TSpecBoxProps) => ( | ||
<div className='cfd-trade-modal__spec-box'> | ||
<Text size='xs' weight={is_bold ? 'bold' : ''} className='cfd-trade-modal__spec-text'> | ||
{value} | ||
</Text> | ||
<CFDAccountCopy text={value} className='cfd-trade-modal__spec-copy' /> | ||
</div> | ||
); | ||
|
||
export default SpecBox; |
Oops, something went wrong.