Skip to content
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

Merged
merged 18 commits into from
Jun 25, 2017
Merged

Hero block #262

merged 18 commits into from
Jun 25, 2017

Conversation

ozasadnyy
Copy link
Member

No description provided.

@ozasadnyy ozasadnyy requested a review from sophieH29 June 24, 2017 16:53
switch (action.type) {
case TOGGLE_DRAWER:
return Object.assign({}, state, {
isDrawerOpened: action.value !== null ? action.value : !state.ui.isDrawerOpened
Copy link
Contributor

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

Copy link
Member Author

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;
Copy link
Contributor

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup

@ozasadnyy ozasadnyy merged commit 2bb3d87 into hoverboard-v2 Jun 25, 2017
@ozasadnyy ozasadnyy deleted the hero-block branch June 25, 2017 21:07
CmoaToto pushed a commit to paug/android-makers-2019 that referenced this pull request Dec 24, 2018
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants