Last active
January 31, 2018 08:37
-
-
Save YuCJ/9df07421d4c29ff3a399b14fba34a2b1 to your computer and use it in GitHub Desktop.
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
import map from 'lodash.map' | |
import React from 'react' | |
import Viewport from './fullpage-slides-viewport' | |
const backgroundData = [{/* slide 0 bg */}, {/* slide 2 bg */}, {/* slide 4 bg */}] | |
const textData = [{/* slide 0 text */}, {/* slide 3 text */}, {/* slide 4 text */}] | |
const _ = { | |
map, | |
} | |
class App extends React.Component { | |
render() { | |
return ( | |
<Viewport> | |
<Background data={backgroundData} /> | |
<Text data={textData} /> | |
</Viewport> | |
) | |
} | |
} | |
export default App |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment