mini GitHub API client
First screen: owner (organization or user) name input and submit button.
Treat organizations as users: unconditionally use
/users/${owner}/repos
API.
On submit: show cards with repositories, filters, and sorting.
[class*="ymaps-2"][class*="-ground-pane"] { | |
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); | |
-webkit-filter: grayscale(100%); | |
} |
mini GitHub API client
First screen: owner (organization or user) name input and submit button.
Treat organizations as users: unconditionally use
/users/${owner}/repos
API.
On submit: show cards with repositories, filters, and sorting.
git log -5 --pretty=%s --graph
git branch -d local_branch
git fetch origin remote_branch
git checkout -b local_branch origin/remote_branch
git reset --soft
(HEAD^) – откатить последний коммит
const propTypes = { | |
progressPercent: PropTypes.number, | |
}; | |
const defaultProps = { | |
progressPercent: 0, | |
}; | |
const WIDTH = 224; | |
const HEIGHT = 112; |
// export values from SCSS file | |
:export { | |
tablet-portrait: $tablet-portrait; | |
desktop: $desktop; | |
} | |
// JS | |
import BREAKPOINTS from '../breakpoints.scss'; | |
const isMatchesMQ = window.matchMedia(`(min-width: ${BREAKPOINTS.desktop})`).matches; |