Updated hackathon page

This commit is contained in:
Oleh Zasadnyy 2014-08-28 18:50:12 +03:00
parent 8ed616c1bb
commit aaa240eb29
14 changed files with 157 additions and 52 deletions

View file

@ -48,7 +48,7 @@
{% endif %}
<script>
Waves.displayEffect();
{% if page.permalink == '/' or page.permalink == '/hackathon/' %}
{% if page.permalink == '/' %}
var googleMaps = 'index',
eventPlace = new google.maps.LatLng({{ site.eventPlaceCoordinates }}),
centerMap = new google.maps.LatLng({{ site.mapCenterCoordinates }}),
@ -90,6 +90,12 @@
centerMap = new google.maps.LatLng({{ site.logisticsMapCenterCoordinates }}),
mobileCenterMap = new google.maps.LatLng({{ site.logisticsMapMobileCenterCoordinates }}),
icon = '{{ site.baseurl }}/img/svg/map-marker.svg';
{% elsif page.permalink == '/hackathon/' %}
var googleMaps = 'hackathon',
eventPlace = new google.maps.LatLng({{ site.hackathonPlaceCoordinates }}),
centerMap = new google.maps.LatLng({{ site.hackathonMapCenterCoordinates }}),
mobileCenterMap = new google.maps.LatLng({{ site.hackathonMapMobileCenterCoordinates }}),
icon = '{{ site.baseurl }}/img/svg/map-marker.svg';
{% endif %}
</script>
<script src="{{ "/js/scripts.min.js" | prepend: site.baseurl }}"></script>