From d84ffa9f6da61cb2cfd3f82eb1308d13f853b8ed Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Thu, 12 Sep 2019 15:33:18 +0200 Subject: [PATCH] Add texts for users with lots of subscribers [MAILPOET-2142] --- assets/js/src/wizard/steps/pitch_mss/step.jsx | 33 +++++++++++++++++++ views/welcome_wizard.html | 3 ++ 2 files changed, 36 insertions(+) diff --git a/assets/js/src/wizard/steps/pitch_mss/step.jsx b/assets/js/src/wizard/steps/pitch_mss/step.jsx index d3846250a8..be7f3f1c83 100644 --- a/assets/js/src/wizard/steps/pitch_mss/step.jsx +++ b/assets/js/src/wizard/steps/pitch_mss/step.jsx @@ -35,6 +35,23 @@ const FreePlanSubscribers = () => ( const NotFreePlanSubscribers = () => ( <>

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

+

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

+

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

+ + + {MailPoet.I18n.t('welcomeWizardMSSNotFreeButton')} + ); @@ -47,6 +64,22 @@ const Step = (props) => ( ) } +

+ { + if ((['keydown', 'keypress'].includes(event.type) && ['Enter', ' '].includes(event.key)) + ) { + event.preventDefault(); + props.next(); + } + }} + > + {MailPoet.I18n.t('welcomeWizardMSSNoThanks')} + +

); diff --git a/views/welcome_wizard.html b/views/welcome_wizard.html index 9208e7c481..6c81c2765f 100644 --- a/views/welcome_wizard.html +++ b/views/welcome_wizard.html @@ -55,6 +55,9 @@ 'welcomeWizardMSSList5': __('Remove the MailPoet logo from the footer of your emails'), 'welcomeWizardMSSFreeButton': __('Sign up for free!'), 'welcomeWizardMSSNotFreeTitle': __('It’s now time to take your MailPoet to the next level'), +'welcomeWizardMSSNotFreeSubtitle': __('Starting at only $13 per month, MailPoet Premium offers the following features'), +'welcomeWizardMSSNotFreeButton': __('Sign up now'), +'welcomeWizardMSSNoThanks': __('No thanks!'), 'seeVideoGuide': _x('See video guide', 'A label on a button'), 'skip': _x('Skip', 'A label on a skip button'), 'noThanksSkip': _x('No thanks. Skip.', 'A label on a skip button'),