Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
chore: 🔥 updated migration content
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeep-deriv committed Jul 19, 2024
1 parent d1f4571 commit c49a7d9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
11 changes: 7 additions & 4 deletions src/components/Banner/fixed-dbot-banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ const FixedDbotBanner = () => (
<span>
<strong>{translate('Important: ')}</strong>
</span>
<span>{translate('Binary Bot will be discontinued soon. ')}</span>
<a className='fixed-banner__visit-deriv-bot' href='#' onClick={visitDerivBot}>
{translate('Upgrade to Deriv Bot')}
</a>
<span>{translate('Binary Bot will be discontinued on')} </span>
<strong>
<span>{translate('31 August 2024.')} </span>
<a className='fixed-banner__visit-deriv-bot' href='#' onClick={visitDerivBot}>
{translate('Upgrade to Deriv Bot')}
</a>
</strong>
<span>{translate(' to continue trading.')}</span>
</div>
</div>
Expand Down
14 changes: 10 additions & 4 deletions src/components/Banner/move-to-dbot-banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const shouldShowPopup = () => {

const MoveToDbotBanner = () => {
const container_class = 'mv-dbot-banner';
const [open_modal, setOpenModal] = useState(false);
const [open_modal, setOpenModal] = useState(true);

useEffect(() => {
try {
Expand Down Expand Up @@ -72,14 +72,20 @@ const MoveToDbotBanner = () => {
<div className={`${container_class}__icon-container`}>
<img alt='move to deriv' src='/public/images/upgrade-to-deriv-bot.svg' />
</div>
<div className={`${container_class}__title`}>{translate('Binary bot is retiring soon')} </div>
<div className={`${container_class}__title`}>
{translate('Binary bot is retiring on 31 August 2024')}{' '}
</div>
<div className={`${container_class}__content`}>
<p>{translate('Binary bot will be discontinued soon.')}</p>
<p>
{translate(
'Import your existing strategies (XML files) to Deriv Bot today and enjoy a faster, more efficient trading experience with advanced features.'
'Follow these steps to keep trading with your favourite strategies on Deriv Bot:'
)}
</p>
<p>{translate('1. Download your Binary Bot strategy in XML format.')}</p>
<p>{translate('2. Switch to Deriv Bot and import your strategy.')}</p>
<p>{translate('3. Run your updated strategy to check its performance.')}</p>
<p>{translate('4. Save the updated strategy for quicker re-imports.')}</p>
<p>{translate('Upgrade today and experience seamless trading on Deriv Bot.')}</p>
</div>
</div>
</DerivAppModal>
Expand Down

0 comments on commit c49a7d9

Please sign in to comment.