Added ElementScrollFader effect

This commit is contained in:
YourWishes committed 2018-06-08 08:37:56 +10:00
1 parent bfcf2d2412
commit 1713de31b6
4 files changed
+116 -5

No files matched your search

+8 -5
View File
@@ -30,6 +30,7 @@ import FloatingContentBox from './../../content/FloatingContentBox';
import Image from './../../image/Image';
import Video from './../../video/Video';
import { Title, Subtitle } from './../../typography/Typography';
import ElementScrollFader from './../../animation/fade/ElementScrollFader';
const AboutPage = (props) => {
return (
@@ -53,11 +54,13 @@ const AboutPage = (props) => {
<PageBoundary>
<SplitSection>
<Split className="u-text-center">
<Video
image={ require('./../../videos/bunny/big_buck_bunny.jpg') }
mp4={ require('./../../videos/bunny/big_buck_bunny.mp4') }
controls
/>
<ElementScrollFader>
<Image
image={ require('./../../videos/bunny/big_buck_bunny.jpg') }
mp4={ require('./../../videos/bunny/big_buck_bunny.mp4') }
controls
/>
</ElementScrollFader>
</Split>
<Split className="u-text-center">