Jack Mallers
7 years ago
4 changed files with 60 additions and 5 deletions
@ -0,0 +1,35 @@ |
|||||
|
@import '../../../variables.scss'; |
||||
|
|
||||
|
.container { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
.search { |
||||
|
height: 75px; |
||||
|
padding: 2px; |
||||
|
border-bottom: 1px solid $darkgrey; |
||||
|
|
||||
|
.input { |
||||
|
display: inline-block; |
||||
|
vertical-align: top; |
||||
|
height: 100%; |
||||
|
} |
||||
|
|
||||
|
.label { |
||||
|
width: 5%; |
||||
|
line-height: 70px; |
||||
|
font-size: 25px; |
||||
|
text-align: center; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
.text { |
||||
|
width: 95%; |
||||
|
outline: 0; |
||||
|
padding: 0; |
||||
|
border: 0; |
||||
|
border-radius: 0; |
||||
|
height: 68px; |
||||
|
font-size: 18px; |
||||
|
} |
||||
|
} |
@ -1,12 +1,18 @@ |
|||||
import { withRouter } from 'react-router' |
import { withRouter } from 'react-router' |
||||
import { connect } from 'react-redux' |
import { connect } from 'react-redux' |
||||
|
|
||||
|
import { |
||||
|
fetchChannels, |
||||
|
} from 'reducers/channels' |
||||
|
|
||||
import Channels from '../components/Channels' |
import Channels from '../components/Channels' |
||||
|
|
||||
const mapDispatchToProps = { |
const mapDispatchToProps = { |
||||
|
fetchChannels |
||||
} |
} |
||||
|
|
||||
const mapStateToProps = state => ({ |
const mapStateToProps = state => ({ |
||||
|
channels: state.channels |
||||
}) |
}) |
||||
|
|
||||
export default withRouter(connect(mapStateToProps, mapDispatchToProps)(Channels)) |
export default withRouter(connect(mapStateToProps, mapDispatchToProps)(Channels)) |
||||
|
Loading…
Reference in new issue