diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-07-23 22:43:31 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-07-23 22:43:31 +0200 |
| commit | 599d3e0758d6f1a3cf5ce69cfc03eab484c3ff17 (patch) | |
| tree | c3261bfd30b97acbc9249c850237fa1a5e714bc7 /animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js | |
| parent | a5c50ac4927d82aca8cba56b159e68f1528407b7 (diff) | |
styling the sections
Diffstat (limited to 'animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js new file mode 100644 index 0000000..a619d81 --- /dev/null +++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js @@ -0,0 +1,43 @@ +import React, { Component } from 'react' +// import { Link } from 'react-router-dom' +import { connect } from 'react-redux' + +import actions from 'app/actions' +import { Arrow } from '../nav/viewer.icons' + +class ViewerSectionsNav extends Component { + componentDidMount() { + } + + render() { + const { } = this.props + return ( + <div className="viewer-nav"> + <div className='nav-row'> + <div> + <span className="share-link link"> + <Arrow type={'up'} /> + {'Share'} + </span> + </div> + <div> + <span className="checklist-link link"> + <Arrow type={'up'} /> + {'Checklist'} + </span> + </div> + <div> + <span className="transcript-link link" onClick={() => actions.viewer.showSection('transcript')}> + {'Transcript'} + </span> + </div> + </div> + </div> + ) + } +} + +const mapStateToProps = state => ({ +}) + +export default connect(mapStateToProps)(ViewerSectionsNav) |
