"homepage": "https://<username>.github.io/<reponame>",
"scripts": {
"predeploy": "npm|yarn run build",
"deploy": "gh-pages -d build"
}
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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%); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ymaps.ready(function () { | |
var geocoder = ymaps.geocode("{{ object_item.address }}", {result: 1}); | |
geocoder.then( | |
function (res) { | |
var point = res.geoObjects.get(0), | |
mapCenter = point.geometry.getCoordinates(); | |
var map = new ymaps.Map('map', { | |
center: mapCenter, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.parent { | |
column-count: 3; | |
} | |
.child { | |
break-inside: avoid-column; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#slider') | |
.on('init', function () { | |
$(this).removeClass('slider--before-init'); | |
}) | |
.slick({ | |
arrows: false, | |
autoplay: true, | |
autoplaySpeed: 5000, | |
infinite: true, | |
speed: 300, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2), | |
only screen and ( min--moz-device-pixel-ratio: 2), | |
only screen and ( -o-min-device-pixel-ratio: 2/1), | |
only screen and ( min-device-pixel-ratio: 2), | |
only screen and ( min-resolution: 192dpi), | |
only screen and ( min-resolution: 2dppx) { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-webkit-user-select: none; /* Chrome/Safari */ | |
-moz-user-select: none; /* Firefox */ | |
-ms-user-select: none; /* IE10+ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ymaps.ready(init); | |
var myMap, | |
myPlacemark; | |
var places = [ | |
{ | |
name: 'Точка № 1', | |
lat: 48.471125, | |
long: 135.058703 | |
}, |