2018-01-11 18:13:14 +00:00
|
|
|
import React from 'react';
|
|
|
|
import OnboardSlide from './OnboardSlide';
|
|
|
|
import translate from 'translations';
|
2018-02-07 04:28:28 +00:00
|
|
|
import onboardIconOne from 'assets/images/onboarding/slide-01.svg';
|
2018-01-11 18:13:14 +00:00
|
|
|
|
|
|
|
import './WelcomeSlide.scss';
|
|
|
|
|
|
|
|
const WelcomeSlide = () => {
|
2018-03-22 03:50:25 +00:00
|
|
|
const header = translate('ONBOARD_WELCOME_TITLE');
|
|
|
|
const subheader = <small>{translate('ONBOARD_WELCOME_CONTENT__3')}</small>;
|
2018-01-13 08:26:08 +00:00
|
|
|
|
2018-01-11 18:13:14 +00:00
|
|
|
const content = (
|
|
|
|
<div>
|
2018-01-13 08:26:08 +00:00
|
|
|
<div className="WelcomeSlide-alert">
|
|
|
|
<div className="WelcomeSlide-alert-icon">
|
|
|
|
<i className="fa fa-exclamation-triangle" />
|
|
|
|
</div>
|
|
|
|
<span>
|
2018-03-22 03:50:25 +00:00
|
|
|
{translate('ONBOARD_WELCOME_CONTENT__1')}
|
|
|
|
{translate('ONBOARD_WELCOME_CONTENT__2')}
|
2018-01-13 08:26:08 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div className="WelcomeSlide-alert">
|
|
|
|
<div className="WelcomeSlide-alert-icon">
|
|
|
|
<i className="fa fa-exclamation-triangle" />
|
|
|
|
</div>
|
2018-03-22 03:50:25 +00:00
|
|
|
{translate('ONBOARD_WELCOME_CONTENT__8')}
|
2018-01-13 08:26:08 +00:00
|
|
|
</div>
|
2018-03-22 03:50:25 +00:00
|
|
|
<h5>{translate('ONBOARD_WELCOME_CONTENT__4')}</h5>
|
2018-01-11 18:13:14 +00:00
|
|
|
<ul>
|
2018-03-22 03:50:25 +00:00
|
|
|
<li>{translate('ONBOARD_WELCOME_CONTENT__5')}</li>
|
|
|
|
<li>{translate('ONBOARD_WELCOME_CONTENT__6')}</li>
|
|
|
|
<li>{translate('ONBOARD_WELCOME_CONTENT__7')}</li>
|
2018-01-11 18:13:14 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
);
|
2018-01-13 08:26:08 +00:00
|
|
|
|
|
|
|
return (
|
|
|
|
<OnboardSlide
|
|
|
|
header={header}
|
|
|
|
subheader={subheader}
|
|
|
|
content={content}
|
|
|
|
image={onboardIconOne}
|
|
|
|
imageSide="right"
|
|
|
|
/>
|
|
|
|
);
|
2018-01-11 18:13:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default WelcomeSlide;
|