<commit_before>import React from 'react';
import PropTypes from 'prop-types';

const RedirectBanner = ({ has_margin }) => (
    <div
        id='redirect_banner_container'
        className={`banner_container invisible ${has_margin ? 'has_margin' : ''}`}
    >
        <div className='close_banner_text'>
            <img
                src={it.url_for('images/close-banner/icon_left.png')}
                className='close_banner_img'
            />
            <div className='close_banner_text_wrapper'>
                <h3>{it.L('Binary.com is moving to Deriv on 30 November')}</h3>
                <p>{it.L('Start using Deriv with your Binary.com email and password.')}</p>
            </div>
        </div>
        <a id='redirect-link'  target='_blank' rel='noopener noreferrer' href='#'  className='close_banner_btn'><p>{it.L('Trade on Deriv')}</p></a>
        
    </div>
);

RedirectBanner.propTypes = {
    has_margin: PropTypes.bool,
};

export default RedirectBanner;
<commit_msg>Remove date on move-to-deriv redirection banner (#7009)<commit_after>import React from 'react';
import PropTypes from 'prop-types';

const RedirectBanner = ({ has_margin }) => (
    <div
        id='redirect_banner_container'
        className={`banner_container invisible ${has_margin ? 'has_margin' : ''}`}
    >
        <div className='close_banner_text'>
            <img
                src={it.url_for('images/close-banner/icon_left.png')}
                className='close_banner_img'
            />
            <div className='close_banner_text_wrapper'>
                <h3>{it.L('Binary.com is moving to Deriv')}</h3>
                <p>{it.L('Start using Deriv with your Binary.com email and password.')}</p>
            </div>
        </div>
        <a id='redirect-link'  target='_blank' rel='noopener noreferrer' href='#'  className='close_banner_btn'><p>{it.L('Trade on Deriv')}</p></a>
        
    </div>
);

RedirectBanner.propTypes = {
    has_margin: PropTypes.bool,
};

export default RedirectBanner;

{'fraction_non_alphanumeric': 0.14739454094292803, 'fraction_numerical': 0.004962779156327543, 'mean_word_length': 2.587188612099644, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1561719', 'n_tokens_mistral': 651, 'n_tokens_neox': 638, 'n_words': 121}