Remove free welcome emails announcement
[MAILPOET-1672]
This commit is contained in:
@@ -24,19 +24,6 @@
|
||||
100%
|
||||
box-shadow: 0 0 0 0 rgba(255, 83, 1, 0)
|
||||
|
||||
.mailpoet_in_app_announcement_free_welcome_emails
|
||||
text-align: center
|
||||
h2
|
||||
font-size: 28px
|
||||
img
|
||||
width: 640px
|
||||
margin-top: -20px
|
||||
|
||||
.mailpoet_in_app_announcement_free_welcome_emails_dot
|
||||
position: relative
|
||||
top: -3px
|
||||
left: 8px
|
||||
|
||||
.mailpoet_drag_and_drop_tutorial
|
||||
text-align: center
|
||||
h2
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import MailPoet from 'mailpoet';
|
||||
import InAppAnnoucement from 'announcements/in_app_announcement.jsx';
|
||||
|
||||
const ListingHeading = () => (
|
||||
<h1 className="title">
|
||||
@@ -18,23 +17,6 @@ const ListingHeading = () => (
|
||||
>
|
||||
{MailPoet.I18n.t('new')}
|
||||
</Link>
|
||||
<InAppAnnoucement
|
||||
className="mailpoet_in_app_announcement_free_welcome_emails_dot"
|
||||
showToNewUser={false}
|
||||
showToPremiumUser={false}
|
||||
showOnlyOnceSlug="free_welcome_emails"
|
||||
height="650px"
|
||||
validUntil={new Date('2018-10-31')}
|
||||
>
|
||||
<div className="mailpoet_in_app_announcement_free_welcome_emails">
|
||||
<h2>{MailPoet.I18n.t('freeWelcomeEmailsHeading')}</h2>
|
||||
<img
|
||||
src={window.mailpoet_free_welcome_emails_image}
|
||||
alt={MailPoet.I18n.t('freeWelcomeEmailsHeading')}
|
||||
/>
|
||||
<p>{MailPoet.I18n.t('freeWelcomeEmailsParagraph')}</p>
|
||||
</div>
|
||||
</InAppAnnoucement>
|
||||
</h1>
|
||||
);
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 154 KiB |
@@ -28,8 +28,6 @@
|
||||
var mailpoet_feature_announcement_has_news = <%= json_encode(feature_announcement_has_news) %>;
|
||||
var mailpoet_last_announcement_seen = <%= json_encode(last_announcement_seen) %>;
|
||||
var mailpoet_user_locale = '<%= get_locale() %>';
|
||||
var mailpoet_in_app_announcements = mailpoet_settings.in_app_announcements;
|
||||
var mailpoet_free_welcome_emails_image = '<%= cdn_url('in-app-announcements/hello-illustration-for-welcome-emails.20181121-1440.png') %>';
|
||||
var mailpoet_congratulations_success_image = '<%= cdn_url('newsletter/congrat-illu-success.20181121-1440.png') %>';
|
||||
var mailpoet_congratulations_loading_image = '<%= cdn_url('newsletter/congratulation-page-illustration-transparent-LQ.20181121-1440.png') %>';
|
||||
var mailpoet_main_page = '<%= mailpoet_main_page %>';
|
||||
@@ -317,9 +315,6 @@
|
||||
'introSkip': _x('Skip', 'A label on a button'),
|
||||
'introDone': _x('Done', 'A label on a button'),
|
||||
|
||||
'freeWelcomeEmailsHeading': __('Welcome Emails are now free for everyone'),
|
||||
'freeWelcomeEmailsParagraph': __('Say “Hello!” automatically to all your new subscribers. They’ll appreciate the extra touch.'),
|
||||
|
||||
'whatsNew': __("What’s new"),
|
||||
|
||||
'congratulationsSendSuccessHeader': __('Congratulations, your newsletter is being sent!'),
|
||||
|
Reference in New Issue
Block a user