Skip to content

Commit 89761e3

Browse files
committed
Move to heroku
1 parent bb7eef7 commit 89761e3

File tree

7 files changed

+15008
-10528
lines changed

7 files changed

+15008
-10528
lines changed

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: npm run start

components/Map/index.vue

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default {
2424
container: 'map',
2525
style: 'mapbox://styles/mapbox/dark-v10',
2626
center: [122, 13],
27-
zoom: 3
27+
zoom: 1.6
2828
})
2929
3030
let markers = {}
@@ -154,13 +154,10 @@ export default {
154154
.addTo(map)
155155
})
156156
157-
map.on('mouseenter', 'clusters', function() {
158-
map.getCanvas().style.cursor = 'pointer'
159-
})
160-
161-
map.on('mouseleave', 'clusters', function() {
162-
map.getCanvas().style.cursor = ''
163-
})
157+
map.on('mouseenter', 'clusters', _ => map.getCanvas().style.cursor = 'pointer')
158+
map.on('mouseleave', 'clusters', _ => map.getCanvas().style.cursor = '')
159+
map.on('mouseenter', 'unclustered-point', _ => map.getCanvas().style.cursor = 'pointer')
160+
map.on('mouseleave', 'unclustered-point', _ => map.getCanvas().style.cursor = '')
164161
}
165162
},
166163
mounted() {

components/Search/index.vue

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,18 @@ export default {
3535
background-color: rgba(39, 39, 39, 1);
3636
box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px -1px, rgba(0, 0, 0, 0.14) 0px 4px 5px 0px, rgba(0, 0, 0, 0.12) 0px 1px 10px 0px;
3737
animation: float-up 1s infinite alternate;
38+
39+
&:hover {
40+
animation-play-state: paused;
41+
}
3842
}
3943
4044
@keyframes float-up {
4145
0% {
42-
transform: translate3d(0, 0px, 0);
43-
}
46+
transform: translate3d(0, 0px, 0);
47+
}
4448
100% {
45-
transform: translate3d(0, 5px, 0);
46-
}
49+
transform: translate3d(0, 5px, 0);
50+
}
4751
}
4852
</style>

0 commit comments

Comments
 (0)