blob: 4200b039d84a0bfdf5dc40460b8a2edfbaf534e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
import React, { Component } from 'react'
// import { Link } from 'react-router-dom'
import { connect } from 'react-redux'
import actions from 'app/actions'
import { ROMAN_NUMERALS } from 'app/constants'
import { Arrow, VolumeControl, PlayButton, PlayerTime } from './viewer.icons'
class ViewerNav extends Component {
componentDidMount() {
}
render() {
const { } = this.props
return (
<div className="viewer-nav">
<div className='nav-row main-nav'>
<div>
<Arrow type={'up'} />
{ROMAN_NUMERALS[0]}
{'. '}
{'Introduction'}
</div>
<div>
<PlayButton />
<PlayerTime />
<VolumeControl />
</div>
<div>
Next
<Arrow type={'right'} />
</div>
</div>
</div>
)
}
}
const mapStateToProps = state => ({
})
export default connect(mapStateToProps)(ViewerNav)
/*
- section name, number
- next link
- player
*/
|