diff --git a/assets/js/src/newsletters/send/congratulate/success_pitch_mss.jsx b/assets/js/src/newsletters/send/congratulate/success_pitch_mss.jsx index 2bf25ea7c8..1ae5b1dfb0 100644 --- a/assets/js/src/newsletters/send/congratulate/success_pitch_mss.jsx +++ b/assets/js/src/newsletters/send/congratulate/success_pitch_mss.jsx @@ -3,21 +3,36 @@ import PropTypes from 'prop-types'; import MailPoet from 'mailpoet'; import WelcomeWizardStepLayoutBody from '../../../wizard/layout/step_layout_body.jsx'; -import WelcomeWizardPitchMSSStep from '../../../wizard/steps/pitch_mss_step.jsx'; +import { BenefitsList, Controls } from '../../../wizard/steps/pitch_mss_step.jsx'; function PitchMss(props) { return (
-

{MailPoet.I18n.t('congratulationsMSSPitchHeader')}

- +
+

{MailPoet.I18n.t('congratulationsMSSPitchHeader')}

+

{MailPoet.I18n.t('congratulationsMSSPitchSubHeader')}

+

+ { + MailPoet.I18n.t(props.subscribersCount < 1000 + ? 'welcomeWizardMSSFreeSubtitle' + : 'welcomeWizardMSSNotFreeSubtitle') + } +

+

+ {MailPoet.I18n.t('welcomeWizardMSSFreeListTitle')} + : +

+ + +
); diff --git a/assets/js/src/wizard/steps/pitch_mss_step.jsx b/assets/js/src/wizard/steps/pitch_mss_step.jsx index 80dd6c872d..6393f58481 100644 --- a/assets/js/src/wizard/steps/pitch_mss_step.jsx +++ b/assets/js/src/wizard/steps/pitch_mss_step.jsx @@ -2,7 +2,7 @@ import PropTypes from 'prop-types'; import React from 'react'; import MailPoet from 'mailpoet'; -const BenefitsList = () => ( +export const BenefitsList = () => ( ); -const Controls = (props) => ( +export const Controls = (props) => (

( <> - {MailPoet.I18n.t('welcomeWizardMSSNotFreeTitle')} +

{MailPoet.I18n.t('welcomeWizardMSSNotFreeTitle')}

{MailPoet.I18n.t('welcomeWizardMSSNotFreeSubtitle')} : diff --git a/views/newsletters.html b/views/newsletters.html index b532c9f679..10c960c3ee 100644 --- a/views/newsletters.html +++ b/views/newsletters.html @@ -353,7 +353,8 @@ 'congratulationsSendFailExplain': __('Rest assured, this is fairly common and is usually fixed quickly. [link]See our quick guide[/link] to help you solve this and get your website sending.'), 'congratulationsLoadingHeader': __('Congrats, you’re sending your first newsletter! We’re doing a quick verification to make sure everything works fine.'), - 'congratulationsMSSPitchHeader': __('Your email has been sent'), + 'congratulationsMSSPitchHeader': __('Your email has been sent!'), + 'congratulationsMSSPitchSubHeader': __('What’s next? Sign up to MailPoet Premium to see who clicked and opened your email. It’s entirely free for you!'), 'reviewRequestHeading': _x('Thank you! Time to tell the world?', 'After a user gives us positive feedback via the NPS poll, we ask them to review our plugin on WordPress.org.'), 'reviewRequestDidYouKnow': __('[username], did you know that hundreds of WordPress users read the reviews on the plugin repository? They’re also a source of inspiration for our team.'),