-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hero block #262
Hero block #262
Conversation
# Conflicts: # bower.json # src/hoverboard-app.html # src/redux-store.html
scripts/redux/reducer.js
Outdated
switch (action.type) { | ||
case TOGGLE_DRAWER: | ||
return Object.assign({}, state, { | ||
isDrawerOpened: action.value !== null ? action.value : !state.ui.isDrawerOpened |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action.value ? action.value : !state.ui.isDrawerOpened
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or even better action.value || !state.ui.isDrawerOpened
} | ||
|
||
app-header iron-pages { | ||
z-index: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you need this property?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup
* Add initial code for hero block * Add hero reducer * Remove .vscode settings * Add .vscode folder to .gitignore * Replace bower and npm with yarn for travis * Fix route reducer * Update header * Add hero reducer * Update hero * Add support of gradient for hero background. Make adaptive height of a hero * Add missing files to previous commit * Try to fix travis build * One more try on travis * Add one more try * Fix uiReducer. Update header layout on hero change
No description provided.