Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MAILPOET-1704]
- Loading branch information
Showing
6 changed files
with
61 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
import MailPoet from 'mailpoet'; | ||
|
||
const WelcomeWizardEmailCourseStep = props => ( | ||
<div className="mailpoet_welcome_wizard_step_content mailpoet_welcome_wizard_centered_column"> | ||
<h1>{MailPoet.I18n.t('welcomeWizardEmailCourseTitle')}</h1> | ||
<p>{MailPoet.I18n.t('welcomeWizardEmailCourseText')}</p> | ||
<div className="mailpoet_welcome_wizard_course_form_box"> | ||
<img | ||
src={props.illustration_url} | ||
alt="" | ||
width="155" | ||
height="155" | ||
/> | ||
<iframe | ||
id="mailpoet_form_iframe" | ||
width="100%" | ||
scrolling="no" | ||
frameBorder="0" | ||
title="Apply to course" | ||
src="https://newsletters.mailpoet.com?mailpoet_form_iframe=13" | ||
className="mailpoet_form_iframe" | ||
marginWidth="0" | ||
marginHeight="0" | ||
allowtransparency="true" // eslint-disable-line react/no-unknown-property | ||
/> | ||
</div> | ||
<button className="button button-primary" onClick={props.next}>{MailPoet.I18n.t('next')}</button> | ||
</div> | ||
); | ||
|
||
WelcomeWizardEmailCourseStep.propTypes = { | ||
next: PropTypes.func.isRequired, | ||
illustration_url: PropTypes.string.isRequired, | ||
}; | ||
|
||
export default WelcomeWizardEmailCourseStep; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+12.5 KB
plugin_repository/assets/welcome-wizard/wizard-email-course.20190109-1400.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters