2016-03-03 17:23:08 +08:00
|
|
|
import React from 'react';
|
|
|
|
import TweenOne from 'rc-tween-one';
|
2016-09-01 11:53:55 +08:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
2016-03-03 17:23:08 +08:00
|
|
|
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
2016-03-30 19:14:09 +08:00
|
|
|
import QueueAnim from 'rc-queue-anim';
|
2016-03-03 17:23:08 +08:00
|
|
|
|
2016-04-13 17:38:53 +08:00
|
|
|
export default function Page4() {
|
|
|
|
return (
|
2016-11-11 17:56:05 +08:00
|
|
|
<ScrollOverPack id="page4" className="content-wrapper page"
|
2016-12-02 18:17:03 +08:00
|
|
|
hideProps={{ image: { reverse: true } }}
|
2016-07-08 17:33:25 +08:00
|
|
|
>
|
2016-11-11 17:56:05 +08:00
|
|
|
<QueueAnim className="text-wrapper-bottom" key="text"
|
2016-07-08 17:33:25 +08:00
|
|
|
leaveReverse type="bottom"
|
2016-06-06 13:54:10 +08:00
|
|
|
>
|
2016-09-01 11:53:55 +08:00
|
|
|
<h2 key="h2"><FormattedMessage id="app.home.sub-slogan" /></h2>
|
|
|
|
<p key="p"><FormattedMessage id="app.home.vision" /></p>
|
2016-04-13 17:38:53 +08:00
|
|
|
</QueueAnim>
|
2016-11-11 17:56:05 +08:00
|
|
|
<TweenOne key="image" className="image4 bottom-wrapper"
|
|
|
|
animation={{ y: 0, opacity: 1, duration: 550, delay: 150, ease: 'easeOutQuad' }}
|
2016-07-08 17:33:25 +08:00
|
|
|
style={{ transform: 'translateY(50px)', opacity: 0 }}
|
2016-06-06 13:54:10 +08:00
|
|
|
/>
|
2016-04-13 17:38:53 +08:00
|
|
|
</ScrollOverPack>
|
|
|
|
);
|
2016-03-03 17:23:08 +08:00
|
|
|
}
|