Merge branch 'develop'

This commit is contained in:
Oleh Zasadnyy 2014-08-25 13:59:49 +03:00
commit 01b8ea1ca0
49 changed files with 471 additions and 759 deletions

8
.gitignore vendored
View file

@ -1,2 +1,6 @@
_site
_sass/.sass-cache
### Jekyll ###
_site/
### Sass ###
.sass-cache

View file

@ -49,9 +49,10 @@ rightNavigationButtons:
- {link: "http://bit.ly/dfua-c4p", text: "Become a speaker"}
# Hero Block
heroTitle: "GDG DevFest <typeout> 2014"
heroTitle: "GDG DevFest<typeout>2014"
eventDate: "September - November, 2014"
typeoutTextValues: '"", "Season", "Ukraine", "Germany", "USA"'
typeoutFallback: "Season"
heroButtons:
- {url: "http://bit.ly/dfua-c4p", text: "Become a speaker"}
@ -104,43 +105,50 @@ twitterHashTag: "devfest"
twitterFeed: "http://lviv.gdg.org.ua/tweetledee/favoritesjson.php?c=10&cache_interval=900"
# Partners Block
organizersTitle: "Organizers"
partnersTitle: "Partners"
partnersC4sponsorsButton: "Become a sponsor"
# Organizers Block
organizersTitle: "Organizers"
# Subscribe Block
subscribeTitle: "Subscribe for updates"
subscribeAction: "http://gdg.us5.list-manage1.com/subscribe/post?u=9fc8aa205b0521b5f05fc8e1e&amp;id=ae0fb459fc"
subscribeInfo: "Registration will be open around end of August. Number of tickets are limited. Stay tuned!"
# Buy Tickets Block
buyTicketsTitle: "Pricetable"
# Tickets Block
ticketsTitle: "Pricetable"
ticketsInfo: "Tickets grant access to all conference sections, coffee brakes, lunch and party. Accommodation is NOT included in the ticket price."
ticketsOffers:
-
name: "1 day"
price: "$100"
name: "Early Bird"
price: "350"
priceCurrency: "UAH"
ticketsNumber: "150"
buyButtonLink: "http://dfua.ticketforevent.com/"
buyButtonText: "Buy Now"
ticketContentList: ["Lorem ipsum is simply", "Dummy text of the printing", "Typesetting industry"]
validFrom: "2014-08-20T10:00"
validThrough: "2014-10-23T23:59"
validFrom: "2014-08-25T10:00"
validThrough: "2014-09-30T23:59"
-
name: "3 days"
price: "$180"
name: "Last Chance"
price: "450"
priceCurrency: "UAH"
ticketsNumber: "100"
ribbon: "-20%"
featured: true
buyButtonLink: "http://dfua.ticketforevent.com/"
buyButtonText: "Buy Now"
ticketContentList: ["Lorem ipsum is simply", "Dummy text of the printing", "Typesetting industry"]
validFrom: "2014-08-20T10:00"
validFrom: "2014-10-01T00:00"
validThrough: "2014-10-23T23:59"
disabled: true
-
name: "2 days"
price: "$150"
name: "Student"
price: "200"
priceCurrency: "UAH"
ticketsNumber: "50"
buyButtonLink: "http://dfua.ticketforevent.com/"
buyButtonText: "Buy Now"
additionalInfo: "Requires a valid student ID at the conference check in. Without student ID at the check in, ticket will be cancelled without refund"
ticketContentList: ["Lorem ipsum is simply", "Dummy text of the printing", "Typesetting industry"]
validFrom: "2014-08-20T10:00"
validThrough: "2014-10-23T23:59"
@ -150,7 +158,7 @@ socialLinks:
- {link: "https://plus.google.com/b/102444623953913144164", icon: "google-plus"}
- {link: "https://twitter.com/intent/user?screen_name=GDGLviv", icon: "twitter"}
- {link: "https://facebook.com/GDGLviv", icon: "facebook"}
- {link: "http://localhost:4000/zeppelin/feed.xml", icon: "rss"}
- {permalink: "/feed.xml", icon: "rss"}
footerBlocks:
-
title: "Links"
@ -164,7 +172,7 @@ footerBlocks:
-
title: "FAQ"
links:
- {permalink: "http://localhost:4000/zeppelin/cod/", text: "Code of Conduct"}
- {permalink: "/cod/", text: "Code of Conduct"}
# Blog
blogTitle: "Latest news"

View file

@ -5,6 +5,6 @@
-
group: "Co-organizers"
elements:
- {name: "GDG Lviv", description: "GDG Kyiv - Open and volunteer geek community", link: "http://kyiv.gdg.org.ua", imageUrl: "gdg-kyiv.png"}
- {name: "GDG Cherkassy", description: "GDG Cherkassy - Open and volunteer geek community", link: "http://cherkassy.gdg.org.ua", imageUrl: "gdg-cherkassy.png"}
- {name: "GDG Dnipropetrovsk", description: "GDG Dnipropetrovsk - Open and volunteer geek community", link: "http://dnipro.gdg.org.ua", imageUrl: "gdg-dnipropetrovsk.png"}
- {name: "GDG Lviv", description: "GDG Kyiv - Open and volunteer geek community", link: "http://kyiv.gdg.org.ua", imageUrl: "gdg-kyiv.svg"}
- {name: "GDG Cherkassy", description: "GDG Cherkassy - Open and volunteer geek community", link: "http://cherkassy.gdg.org.ua", imageUrl: "gdg-cherkasy.svg"}
- {name: "GDG Dnipropetrovsk", description: "GDG Dnipropetrovsk - Open and volunteer geek community", link: "http://dnipro.gdg.org.ua", imageUrl: "gdg-dnipropetrovsk.svg"}

View file

@ -5,32 +5,32 @@
<h3>{{ site.blogTitle }}</h3>
<div class="col-lg-8 col-md-10 col-xs-12">
{% for post in site.posts %}
{% assign postUrl = site.url | append: site.baseurl | append: post.url %}
<article class="row post">
<a href="{{ site.baseurl | append: post.url }}" title="{{ post.title }}"><h4>{{ post.title }}</h4></a>
<div class="post-header">
<div class="published pull-left">
<div class="published col-md-6 col-xs-6 pull-left">
<span class="caption">Posted:</span>
<span class="publish-date" itemprop="datePublished">{{ post.date | date: "%b %-d, %Y" }}{% if post.author %} • {{ post.author }}{% endif %}{% if post.meta %} • {{ post.meta }}{% endif %}</span>
</div>
<div class="share pull-right">
<div class="share col-md-6 col-xs-6 pull-right">
<ul class="social-links">
{% assign postUrl = site.url | append: site.baseurl | append: post.url %}
<li>
<a href="https://plus.google.com/share?url={{ postUrl }}" onclick="window.open('https://plus.google.com/share?url={{ postUrl }}', 'newwindow', 'width=600, height=500'); return false;">
<a href="#" onclick="window.open('https://plus.google.com/share?url={{ postUrl }}', 'newwindow', 'width=600, height=500'); return false;">
<svg class="icon icon-google-plus" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-google-plus"></use>
</svg>
</a>
</li>
<li>
<a href="https://twitter.com/home?status={{ postUrl }}" onclick="window.open('https://twitter.com/home?status={{ postUrl }}', 'newwindow', 'width=600, height=250'); return false;">
<a href="#" onclick="window.open('https://twitter.com/home?status={{ postUrl }}', 'newwindow', 'width=600, height=250'); return false;">
<svg class="icon icon-twitter" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-twitter"></use>
</svg>
</a>
</li>
<li>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ postUrl }}" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u={{ postUrl }}', 'newwindow', 'width=600, height=500'); return false;">
<a href="#" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u={{ postUrl }}', 'newwindow', 'width=600, height=500'); return false;">
<svg class="icon icon-facebook" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-facebook"></use>
</svg>

View file

@ -5,7 +5,7 @@
<h3>{{ site.directionDetailsTitle }}</h3>
</section>
<div class="row">
<div class="col-lg-10 col-lg-offset-1 text-left same-height-wrapper">
<div class="col-lg-10 col-lg-offset-1 text-left">
{% assign animationDelay = 0 %}
{% for card in site.directionDetailsCards %}
{% assign colWidth = 12 | divided_by: forloop.length %}

View file

@ -24,7 +24,7 @@
<ul class="social-links">
{% for social in site.socialLinks %}
<li>
<a href="{{ social.link }}" target="_blank">
<a href="{% if linkElement.permalink != null %} {{ linkElement.permalink | prepend: site.baseurl }} {% else %} {{ linkElement.link }} {% endif %}" target="_blank">
<svg class="icon icon-{{ social.icon }}" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-{{ social.icon }}"></use>
</svg>
@ -38,7 +38,7 @@
<!-- Please don't delete this line-->
<div class="col-md-6">
<p class="copyright">
&copy; 2014 Designed and created by <a href="https://plus.google.com/+OlehZasadnyy/about">Oleh Zasadnyy</a> &middot; <a href="http://lviv.gdg.org.ua" target="_blank">GDG Lviv</a>
&copy; 2014 Based on <a href="https://github.com/gdg-x/zeppelin" target="_blank">Project Zeppelin</a>. Designed and created by <a href="https://plus.google.com/+OlehZasadnyy/about" target="_blank">Oleh Zasadnyy</a> &middot; <a href="http://lviv.gdg.org.ua" target="_blank">GDG Lviv</a>
</p>
</div>
</div>

View file

@ -7,10 +7,6 @@
<meta name="description" content="{{ site.description }}">
<meta name="keywords" content="{{ site.metaKeywords }}">
<link rel="canonical" href="{{ site.url }}">
<!-- Social: Google+ / Schema.org -->
<meta itemprop="name" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
<meta itemprop="description" content="{{ site.description }}">
<meta itemprop="image" content="{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}">
<!-- Social: Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="{{ site.twitterAccount }}">
@ -25,7 +21,6 @@
<meta property="og:image" content="{{ site.socialImageSrcFacebook | prepend: site.baseurl | prepend: site.url }}" />
<meta property="og:description" content="{{ site.description }}" />
<title>{% if page.title %}{{ page.title }} &bull; {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
<link rel="shortcut icon" href="{{ "/img/favicons/favicon.ico" | prepend: site.baseurl }}">
<link rel="apple-touch-icon" sizes="152x152" href="{{ "/img/favicons/apple-touch-icon-152x152.png" | prepend: site.baseurl }}">

View file

@ -1,21 +1,22 @@
<!-- Begin Top Section -->
<!-- Begin Hero Section -->
<section id="top-section-hero" class="top-section-hero top-section image-section" style="background-image: url('{{ site.baseurl }}/img/hero.jpg');">
{% include navigation.html %}
<div class="content-wrapper">
<div class="jumbotron">
<div class="animated hiding" data-animation="fadeInDown" data-delay="500">
{% assign heroText = site.heroTitle | split:"<typeout>" %}
<h1>{{ heroText[0] }}<span id="typeout-text"></span>{{ heroText[1] }}</h1>
<h1>{{ heroText[0] }}<span id="typeout-text" class="hidden-xs"></span><span class="typeout-fallback">{{ site.typeoutFallback }}</span>{{ heroText[1] }}</h1>
<p>{{ site.eventDate }}</p>
{% for button in site.heroButtons %}
<a href="{{ button.url }}" class="btn btn-primary waves-effect waves-button waves-light waves-float" target="_blank">{{ button.text }}</a>
{% endfor %}
</div>
</div>
<a href="#about" class="explore animated hidden fadeInDown">
<a href="#about" class="explore">
<svg class="icon icon-arrow-down" viewBox="0 0 32 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-arrow-down"></use>
</svg>
</a>
</div>
</section>
<!-- End Top Section -->
<!-- End Hero Section -->

View file

@ -10,7 +10,7 @@
<ul>
{% for navigationLink in site.navigationLinks %}
<li>
<a class="{% if page.permalink == navigationLink.permalink %}current{% endif %}" href="{% if navigationLink.permalink != null %} {{ navigationLink.permalink | prepend: site.baseurl }} {% else %} {{ navigationLink.link }} {% endif %}">{{ navigationLink.text}}</a>
<a class="{% if navigationLink.permalink != null and page.permalink == navigationLink.permalink %}current{% endif %}" href="{% if navigationLink.permalink != null %} {{ navigationLink.permalink | prepend: site.baseurl }} {% else %} {{ navigationLink.link }} {% endif %}">{{ navigationLink.text}}</a>
</li>
{% endfor %}
</ul>

View file

@ -3,33 +3,32 @@
<div class="content-wrapper text-left">
<div class="col-md-10 col-sm-10 col-lg-offset-2 col-md-offset-2 col-sm-offset-1">
<div class="col-lg-8 col-md-10 col-xs-12">
<article class="row post">
{% if include.isStaticPost == false %}
<div class="post-header">
<div class="published pull-left">
<div class="published col-md-6 col-xs-6 pull-left">
<span class="caption">Posted:</span>
<span class="publish-date" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</span>
</div>
<div class="share pull-right">
<div class="share col-md-6 col-xs-6 pull-right">
<ul class="social-links">
{% assign postUrl = site.url | append:page.url %}
{% assign postUrl = page.url | prepend: site.baseurl | prepend: site.url %}
<li>
<a href="https://plus.google.com/share?url={{ postUrl }}" onclick="window.open('https://plus.google.com/share?url={{ postUrl }}', 'newwindow', 'width=600, height=500'); return false;">
<a href="#" onclick="window.open('https://plus.google.com/share?url={{ postUrl }}', 'newwindow', 'width=600, height=500'); return false;">
<svg class="icon icon-google-plus" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-google-plus"></use>
</svg>
</a>
</li>
<li>
<a href="https://twitter.com/home?status={{ postUrl }}" onclick="window.open('https://twitter.com/home?status={{ postUrl }}', 'newwindow', 'width=600, height=250'); return false;">
<a href="#" onclick="window.open('https://twitter.com/home?status={{ postUrl }}', 'newwindow', 'width=600, height=250'); return false;">
<svg class="icon icon-twitter" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-twitter"></use>
</svg>
</a>
</li>
<li>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ postUrl }}" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u={{ postUrl }}', 'newwindow', 'width=600, height=500'); return false;">
<a href="#" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u={{ postUrl }}', 'newwindow', 'width=600, height=500'); return false;">
<svg class="icon icon-facebook" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-facebook"></use>
</svg>
@ -45,12 +44,12 @@
<div id="page-navigation" class="page-navigation">
<div class="next col-xs-6">
{% if page.next.url %}
<a href="{{page.next.url}}" title="{{page.next.title | strip_html }}">&laquo; {{page.next.title | strip_html | truncate: 15 }}</a>
<a href="{{ page.next.url | prepend: site.baseurl }}" title="{{ page.next.title | strip_html }}">&laquo; {{page.next.title | strip_html | truncate: 15 }}</a>
{% endif %}
</div>
<div class="previous col-xs-6">
<div class="previous col-xs-6 text-right">
{% if page.previous.url %}
<a href="{{page.previous.url}}" title="{{page.previous.title | strip_html }}">{{page.previous.title | strip_html | truncate: 15 }} &raquo;</a>
<a href="{{ page.previous.url | prepend: site.baseurl }}" title="{{ page.previous.title | strip_html }}">{{page.previous.title | strip_html | truncate: 15 }} &raquo;</a>
{% endif %}
</div>
</div>

View file

@ -0,0 +1,72 @@
<script type="application/ld+json">
[{
"@context" : "http://schema.org",
"@type" : "Event",
"name" : "{{ site.title }}",
"description": "{{ site.description }}",
"image" : "{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}",
"url" : "{{ site.url }}",
"startDate" : "{{ site.eventStartTime }}",
"doorTime" : "{{ site.eventDoorTime }}",
"endDate" : "{{ site.eventEndTime }}",
"location" : {
"@type" : "Place",
"name" : "{{ site.eventLocationName }}",
"sameAs" : "{{ site.eventLocationLink }}",
"address" : {
"@type" : "PostalAddress",
"streetAddress" : "{{ site.eventStreetAddress }}",
"addressLocality" : "{{ site.eventAddressLocality }}",
"addressRegion" : "{{ site.eventAddressLocalityRegion }}",
"postalCode" : "{{ site.eventPostalCode }}",
"addressCountry" : "{{ site.eventAddressCountry }}"
},
"geo" : {
"@type" : "GeoCoordinates",
{% assign coordinates = site.eventPlaceCoordinates | split:"," %}
"latitude" : "{{ coordinates[0] }}",
"longitude" : "{{ coordinates[1] }}"
}
},
// Not supported yet
// "organizer" : {
// "@type" : "Organization",
// "name" : "{{ site.organizerName }}",
// "alternateName" : "{{ site.organizerAlternateName }}",
// "description" : "{{ site.organizerDescription }}",
// "logo" : "{{ site.organizerLogo | prepend: site.baseurl | prepend: site.url }}",
// "email" : "{{ site.organizerEmail }}",
// "sameAs" : "{{ site.organizerLink }}"
// },
"offers" : [
{% for ticketsOffer in site.ticketsOffers %}
{
"@type" : "Offer",
"name" : "{{ ticketsOffer.name }}",
"url" : "{{ ticketsOffer.buyButtonLink }}",
"price" : "{{ ticketsOffer.price }}",
"priceCurrency" : "{{ ticketsOffer.priceCurrency }}",
"validFrom" : "{{ ticketsOffer.validFrom }}",
"validThrough" : "{{ ticketsOffer.validThrough }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"performer" : [
{% for speaker in site.data.speakers %}
{
"@type" : "Person",
"name" : "{{ speaker.name }} {{ speaker.surname }}",
"image" : "{{ speaker.thumbnailUrl | prepend: site.thumbnailsFolder | prepend: site.baseurl | prepend: site.url }}",
"jobTitle" : "{{ speaker.title }}",
"worksFor" : {
"@type" : "Organization",
"name" : "{{ speaker.company }}"
},
"sameAs" : "{{ speaker.social[0].link }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"eventStatus" : "EventScheduled",
"typicalAgeRange" : "16+"
}]
</script>

43
_includes/tickets-2.html Normal file
View file

@ -0,0 +1,43 @@
<!-- Begin Tickets 2 Section -->
<section id="tickets-2" class="tickets-2">
<div class="content-wrapper">
<div class="col-lg-8 col-md-10 col-lg-offset-2 col-md-offset-1">
<h3>{{ site.ticketsTitle }}</h3>
<div class="tickets-table row animated hiding" data-animation="fadeInDown" data-delay="0">
{% assign animationDelay = 0 %}
{% for ticketsOffer in site.ticketsOffers %}
<div class="tickets-row animated hiding" data-animation="fadeInDown" data-delay="{{ animationDelay }}">
<div class="row">
<div class="col-md-6 col-xs-12">
<p class="title">{{ ticketsOffer.name }}</p>
{% if ticketsOffer.additionalInfo != null %}
<span class="ticket-additional-info">{{ ticketsOffer.additionalInfo }}</span>
{% endif %}
{% if ticketsOffer.disabled != true %}
{% assign ticketValidTo = ticketsOffer.validThrough | split: "T" %}
<span class="ticket-additional-info">Before {{ ticketValidTo[0] | date: "%-d %B %Y"}} {{ ticketValidTo[1] }} or {{ ticketsOffer.ticketsNumber }} tickets</span>
{% endif %}
</div>
<div class="col-md-3 col-xs-12">
<p class="price">{{ ticketsOffer.price }} {{ ticketsOffer.priceCurrency }}</p>
</div>
<div class="col-md-3 col-xs-12">
{% if ticketsOffer.disabled != true %}
<span class="bordered dark-border button">
<a href="{{ ticketsOffer.buyButtonLink }}" class="waves-effect waves-button" target="_blank">{{ ticketsOffer.buyButtonText }}</a>
</span>
{% else %}
{% assign ticketValidFrom = ticketsOffer.validFrom | split: "T" %}
<p class="ticket-fallback">Ticket sales will begin on {{ ticketValidFrom[0] | date: "%-d %B %Y"}} {{ ticketValidFrom[1] }}</p>
{% endif %}
</div>
</div>
</div>
{% assign animationDelay = animationDelay | plus:250 %}
{% endfor %}
</div>
<span class="tickets-info">{{ site.ticketsInfo }}</span>
</div>
</div>
</section>
<!-- End Tickets 2 Section -->

View file

@ -1,16 +1,16 @@
<!-- Begin Buy Tickets Section -->
<section id="buy-tickets" class="buy-tickets">
<!-- Begin Tickets Section -->
<section id="tickets" class="tickets">
<div class="content-wrapper">
<div class="col-lg-8 col-md-10 col-lg-offset-2 col-md-offset-1">
<h3>{{ site.buyTicketsTitle }}</h3>
<h3>{{ site.ticketsTitle }}</h3>
{% for ticketsOffer in site.ticketsOffers %}
{% assign colWidth = 12 | divided_by: forloop.length %}
{% assign check = forloop.index | modulo:2 %}
<div class="col-md-{{ colWidth }} col-sm-{{ colWidth }} pricing-col {% if ticketsOffer.featured != null %}pricing-col-featured{% endif %} animated hiding" data-animation="{% if forloop.index == 1 %}fadeInLeft{% elsif forloop.index == forloop.length %}fadeInRight{% else %}fadeInDown{% endif %}" data-delay="{% if check == 0 %}0{% else %}500{% endif %}">
{% if ticketsOffer.ribbon != null %}<div class="pricing-ribbon">{{ ticketsOffer.ribbon }}</div>{% endif %}
<div class="pricing-header">
<h3 class="title">{{ ticketsOffer.name }}</h3>
<h4 class="amount">{{ ticketsOffer.price }}</h4>
<p class="title">{{ ticketsOffer.name }}</p>
<p class="price">{{ ticketsOffer.price }} <span class="currency">{{ ticketsOffer.priceCurrency }}</span></p>
</div>
<div class="pricing-content">
<ul>
@ -25,4 +25,4 @@
</div>
</div>
</section>
<!-- End Buy Tickets Section -->
<!-- End Tickets Section -->

View file

@ -2,7 +2,7 @@
<section id="twitter-feed" class="twitter-feed image-section parallax" style="background-image: url({{ site.baseurl }}/img/twitter-feed.jpg);">
<div class="overlay solid-overlay"></div>
<div class="content-wrapper">
<div class="col-lg-6 col-md-8 col-lg-offset-3 col-md-offset-2">
<div class="col-md-8 col-md-offset-2">
<svg class="icon" viewBox="0 0 30 32">
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-twitter"></use>
</svg>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/Blog">
<html lang="en">
{% include head.html %}
@ -8,7 +8,7 @@
<div class="loader-gplus"></div>
</div>
<div id="st-container" class="st-container">
<div id="st-container" class="st-container disable-scrolling">
<div class="st-pusher">
<div class="st-content">
@ -30,97 +30,81 @@
{% include analytics.html %}
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- jQuery local fallback -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="{{ "/js/jquery-2.1.1.min.js" | prepend: site.baseurl }}><\/script>')
</script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!-- Bootstrap JS local fallback -->
<script>
if (typeof($.fn.modal) === 'undefined') {
document.write('<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }}><\/script>')
}
</script>
<script src="{{ "/js/jquery.appear.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/waves.min.js" | prepend: site.baseurl }}"></script>
<script>Waves.displayEffect();</script>
<script src="{{ "/js/default.js" | prepend: site.baseurl }}"></script>
{% if page.permalink == '/' %}
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
{% elsif page.permalink == '/logistics/' %}
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places,geometry"></script>
{% endif %}
<script>
Waves.displayEffect();
{% if page.permalink == '/' %}
var googleMaps = 'index',
eventPlace = new google.maps.LatLng({{ site.eventPlaceCoordinates }}),
centerMap = new google.maps.LatLng({{ site.mapCenterCoordinates }}),
mobileCenterMap = new google.maps.LatLng({{ site.mapMobileCenterCoordinates }}),
icon = '{{ site.baseurl }}/img/svg/map-marker.svg';
var twitterFeedUrl = '{{ site.twitterFeed }}';
$(document).ready(function () {
$(function () {
if ($(window).width() > 767) {
$("#typeout-text").typed({
strings: [{{site.typeoutTextValues}}],
typeSpeed: 150,
backDelay: 900,
loop: true
});
}
});
var rockstarSpeakers = [
{% for speaker in site.data.speakers %}
{% if speaker.rockstar %}
{name: "{{ speaker.name }} {{ speaker.surname }}", company: "{{ speaker.company }}", image: "{{ site.baseurl | append: site.thumbnailsFolder | append: speaker.thumbnailUrl }}"}{% if forloop.index != forloop.length %},{% endif %}
{% endif %}
{% endfor %}
];
rockstarSpeakers.sort(function() {return 0.5 - Math.random()});
if(rockstarSpeakers.length > 0) {
var animationDelay = 1500,
count = {{ site.rockstarSpeakersCount }},
colWidth = 12/count;
for(i=0; i<count; i++) {
$('#rockstar-speaker-title').after('<div class="col-md-'+ colWidth +' col-xs-6 rockstar-speakers-item animated hiding" data-animation="fadeInUp" data-delay="' + animationDelay +'"><div class="rockstar-speaker"><div class="flow-img img-circle rockstar-speaker-img" style="background-image: url(' + rockstarSpeakers[i].image + ')"></div><div class="name">' + rockstarSpeakers[i].name + '</div><div class="sub">' + rockstarSpeakers[i].company + '</div></div></div>');
animationDelay -= 500;
}
}
});
{% elsif page.permalink == '/logistics/' %}
var googleMaps = 'logistics',
eventPlace = new google.maps.LatLng({{ site.eventPlaceCoordinates }}),
centerMap = new google.maps.LatLng({{ site.logisticsMapCenterCoordinates }}),
mobileCenterMap = new google.maps.LatLng({{ site.logisticsMapMobileCenterCoordinates }}),
icon = '{{ site.baseurl }}/img/svg/map-marker.svg';
{% endif %}
</script>
<script src="{{ "/js/scripts.min.js" | prepend: site.baseurl }}"></script>
{% if page.permalink == '/schedule/' %}
<script src="{{ "/js/jquery.sticky-kit.min.js" | prepend: site.baseurl }}"></script>
<script type="text/javascript">
$(document).ready(function () {
var navHeight = $('#top-header').height();
var headerHeight = $('.track-header').first().height();
$('.stick-header').stick_in_parent({sticky_class: 'sticky', offset_top: navHeight});
$('.stick-label').stick_in_parent({offset_top: navHeight + headerHeight});
});
</script>
<script type="text/javascript">
$(document).ready(function () {
var navHeight = $('#top-header').height();
var headerHeight = $('.track-header').first().height();
$('.stick-header').stick_in_parent({sticky_class: 'sticky', offset_top: navHeight});
$('.stick-label').stick_in_parent({offset_top: navHeight + headerHeight});
});
</script>
{% endif %}
<script type="application/ld+json">
[{
"@context" : "http://schema.org",
"@type" : "Event",
"name" : "{{ site.title }}",
"description": "{{ site.description }}",
"image" : "{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}",
"url" : "{{ site.url }}",
"startDate" : "{{ site.eventStartTime }}",
"doorTime" : "{{ site.eventDoorTime }}",
"endDate" : "{{ site.eventEndTime }}",
"location" : {
"@type" : "Place",
"name" : "{{ site.eventLocationName }}",
"sameAs" : "{{ site.eventLocationLink }}",
"address" : {
"@type" : "PostalAddress",
"streetAddress" : "{{ site.eventStreetAddress }}",
"addressLocality" : "{{ site.eventAddressLocality }}",
"addressRegion" : "{{ site.eventAddressLocalityRegion }}",
"postalCode" : "{{ site.eventPostalCode }}",
"addressCountry" : "{{ site.eventAddressCountry }}"
}
},
"organizer" : {
"@type" : "Organization",
"name" : "{{ site.organizerName }}",
"alternateName" : "{{ site.organizerAlternateName }}",
"description" : "{{ site.organizerDescription }}"
"logo" : "{{ site.organizerLogo | prepend: site.baseurl | prepend: site.url }}",
"email" : "{{ site.organizerEmail }}",
"sameAs" : "{{ site.organizerLink }}"
},
"offers" : [
{% for ticketsOffer in site.ticketsOffers %}
{
"@type" : "Offer",
"name" : "{{ ticketsOffer.name }}",
"url" : "{{ ticketsOffer.buyButtonLink }}",
"price" : "{{ ticketsOffer.price }}",
"validFrom" : "{{ ticketsOffer.validFrom }}",
"validThrough" : "{{ ticketsOffer.validThrough }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"performer" : [
{% for speaker in site.data.speakers %}
{
"@type" : "Person",
"name" : "{{ speaker.name }} {{ speaker.surname }}",
"image" : "{{ speaker.thumbnailUrl | prepend: site.thumbnailsFolder | prepend: site.baseurl | prepend: site.url }}",
"jobTitle" : "{{ speaker.title }}",
"worksFor" : {
"@type" : "Organization",
"name" : "{{ speaker.company }}"
}
"sameAs" : "{{ speaker.social[0].link }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"eventStatus" : "EventScheduled",
"typicalAgeRange" : "16+"
}]
</script>
{% include schema-event.html %}
</body>
</html>

View file

@ -1,148 +0,0 @@
<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/Blog">
{% include head.html %}
<body>
<div id="preloader" class="preloader">
<div class="loader-gplus"></div>
</div>
<div id="st-container" class="st-container">
<div class="st-pusher">
<div class="st-content">
{{ content }}
{% include footer.html %}
</div>
</div>
</div>
{% include analytics.html %}
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- jQuery local fallback -->
<script>
window.jQuery || document.write('<script src="{{ "/js/jquery-2.1.1.min.js " | prepend: site.baseurl }}><\/script>')
</script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!-- Bootstrap JS local fallback -->
<script>
if (typeof ($.fn.modal) === 'undefined') {
document.write('<script src="{{ "/js/bootstrap.min.js " | prepend: site.baseurl }}><\/script>')
}
</script>
<script src="{{ "/js/jquery.countTo.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/jquery.appear.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/typed.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/waves.min.js" | prepend: site.baseurl }}"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script>
//Location properties
var googleMaps = 'index';
var eventPlace = new google.maps.LatLng({{site.eventPlaceCoordinates}});
var centerMap = new google.maps.LatLng({{site.mapCenterCoordinates}});
var mobileCenterMap = new google.maps.LatLng({{site.mapMobileCenterCoordinates}});
var icon = '{{ site.baseurl }}/img/svg/map-marker.svg';
//Twitter
var twitterFeedUrl = '{{ site.twitterFeed }}';
$(document).ready(function () {
Waves.displayEffect();
$(function () {
$("#typeout-text").typed({
strings: [{{site.typeoutTextValues}}],
typeSpeed: 150,
backDelay: 900,
loop: true
});
});
//Rockstar speakers
var rockstarSpeakers = [
{% for speaker in site.data.speakers %}
{% if speaker.rockstar %}
{name: "{{ speaker.name }} {{ speaker.surname }}", company: "{{ speaker.company }}", image: "{{ site.baseurl | append: site.thumbnailsFolder | append: speaker.thumbnailUrl }}"}{% if forloop.index != forloop.length %},{% endif %}
{% endif %}
{% endfor %}
];
rockstarSpeakers.sort(function() {return 0.5 - Math.random()});
if(rockstarSpeakers.length > 0) {
var animationDelay = 1500,
count = {{ site.rockstarSpeakersCount }},
colWidth = 12/count;
for(i=0; i<count; i++) {
$('#rockstar-speaker-title').after('<div class="col-md-'+ colWidth +' col-xs-6 rockstar-speakers-item animated hiding" data-animation="fadeInUp" data-delay="' + animationDelay +'"><div class="rockstar-speaker"><div class="flow-img img-circle rockstar-speaker-img" style="background-image: url(' + rockstarSpeakers[i].image + ')"></div><div class="name">' + rockstarSpeakers[i].name + '</div><div class="sub">' + rockstarSpeakers[i].company + '</div></div></div>');
animationDelay -= 500;
}
}
});
</script>
<script src="{{ "/js/scripts.min.js " | prepend: site.baseurl }}"></script>
<script type="application/ld+json">
[{
"@context" : "http://schema.org",
"@type" : "Event",
"name" : "{{ site.title }}",
"description": "{{ site.description }}",
"image" : "{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}",
"url" : "{{ site.url }}",
"startDate" : "{{ site.eventStartTime }}",
"doorTime" : "{{ site.eventDoorTime }}",
"endDate" : "{{ site.eventEndTime }}",
"location" : {
"@type" : "Place",
"name" : "{{ site.eventLocationName }}",
"sameAs" : "{{ site.eventLocationLink }}",
"address" : {
"@type" : "PostalAddress",
"streetAddress" : "{{ site.eventStreetAddress }}",
"addressLocality" : "{{ site.eventAddressLocality }}",
"addressRegion" : "{{ site.eventAddressLocalityRegion }}",
"postalCode" : "{{ site.eventPostalCode }}",
"addressCountry" : "{{ site.eventAddressCountry }}"
}
},
"organizer" : {
"@type" : "Organization",
"name" : "{{ site.organizerName }}",
"alternateName" : "{{ site.organizerAlternateName }}",
"description" : "{{ site.organizerDescription }}"
"logo" : "{{ site.organizerLogo | prepend: site.baseurl | prepend: site.url }}",
"email" : "{{ site.organizerEmail }}",
"sameAs" : "{{ site.organizerLink }}"
},
"offers" : [
{% for ticketsOffer in site.ticketsOffers %}
{
"@type" : "Offer",
"name" : "{{ ticketsOffer.name }}",
"url" : "{{ ticketsOffer.buyButtonLink }}",
"price" : "{{ ticketsOffer.price }}",
"validFrom" : "{{ ticketsOffer.validFrom }}",
"validThrough" : "{{ ticketsOffer.validThrough }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"performer" : [
{% for speaker in site.data.speakers %}
{
"@type" : "Person",
"name" : "{{ speaker.name }} {{ speaker.surname }}",
"image" : "{{ speaker.thumbnailUrl | prepend: site.thumbnailsFolder | prepend: site.baseurl | prepend: site.url }}",
"jobTitle" : "{{ speaker.title }}",
"worksFor" : {
"@type" : "Organization",
"name" : "{{ speaker.company }}"
}
"sameAs" : "{{ speaker.social[0].link }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"eventStatus" : "EventScheduled",
"typicalAgeRange" : "16+"
}]
</script>
</body>
</html>

View file

@ -1,112 +0,0 @@
<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/Blog">
{% include head.html %}
<body>
<div id="preloader" class="preloader">
<div class="loader-gplus"></div>
</div>
<div id="st-container" class="st-container">
<div class="st-pusher">
<div class="st-content">
{{ content }} {% include footer.html %}
</div>
</div>
</div>
{% include analytics.html %}
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- jQuery local fallback -->
<script>
window.jQuery || document.write('<script src="{{ "/js/jquery-2.1.1.min.js " | prepend: site.baseurl }}><\/script>')
</script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!-- Bootstrap JS local fallback -->
<script>
if (typeof ($.fn.modal) === 'undefined') {
document.write('<script src="{{ "/js/bootstrap.min.js " | prepend: site.baseurl }}><\/script>')
}
</script>
<script src="{{ "/js/jquery.appear.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/waves.min.js" | prepend: site.baseurl }}"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places,geometry"></script>
<script>
var googleMaps = 'logistics';
var eventPlace = new google.maps.LatLng({{site.eventPlaceCoordinates}});
var centerMap = new google.maps.LatLng({{site.logisticsMapCenterCoordinates}});
var mobileCenterMap = new google.maps.LatLng({{site.logisticsMapMobileCenterCoordinates}});
var icon = '{{ site.baseurl }}/img/svg/map-marker.svg';
Waves.displayEffect();
</script>
<script src="{{ "/js/scripts.min.js" | prepend: site.baseurl }}"></script>
<script type="application/ld+json">
[{
"@context" : "http://schema.org",
"@type" : "Event",
"name" : "{{ site.title }}",
"description": "{{ site.description }}",
"image" : "{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}",
"url" : "{{ site.url }}",
"startDate" : "{{ site.eventStartTime }}",
"doorTime" : "{{ site.eventDoorTime }}",
"endDate" : "{{ site.eventEndTime }}",
"location" : {
"@type" : "Place",
"name" : "{{ site.eventLocationName }}",
"sameAs" : "{{ site.eventLocationLink }}",
"address" : {
"@type" : "PostalAddress",
"streetAddress" : "{{ site.eventStreetAddress }}",
"addressLocality" : "{{ site.eventAddressLocality }}",
"addressRegion" : "{{ site.eventAddressLocalityRegion }}",
"postalCode" : "{{ site.eventPostalCode }}",
"addressCountry" : "{{ site.eventAddressCountry }}"
}
},
"organizer" : {
"@type" : "Organization",
"name" : "{{ site.organizerName }}",
"alternateName" : "{{ site.organizerAlternateName }}",
"description" : "{{ site.organizerDescription }}"
"logo" : "{{ site.organizerLogo | prepend: site.baseurl | prepend: site.url }}",
"email" : "{{ site.organizerEmail }}",
"sameAs" : "{{ site.organizerLink }}"
},
"offers" : [
{% for ticketsOffer in site.ticketsOffers %}
{
"@type" : "Offer",
"name" : "{{ ticketsOffer.name }}",
"url" : "{{ ticketsOffer.buyButtonLink }}",
"price" : "{{ ticketsOffer.price }}",
"validFrom" : "{{ ticketsOffer.validFrom }}",
"validThrough" : "{{ ticketsOffer.validThrough }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"performer" : [
{% for speaker in site.data.speakers %}
{
"@type" : "Person",
"name" : "{{ speaker.name }} {{ speaker.surname }}",
"image" : "{{ speaker.thumbnailUrl | prepend: site.thumbnailsFolder | prepend: site.baseurl | prepend: site.url }}",
"jobTitle" : "{{ speaker.title }}",
"worksFor" : {
"@type" : "Organization",
"name" : "{{ speaker.company }}"
}
"sameAs" : "{{ speaker.social[0].link }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"eventStatus" : "EventScheduled",
"typicalAgeRange" : "16+"
}]
</script>
</body>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/Blog">
<html lang="en">
{% include head.html %}
@ -7,11 +7,12 @@
<div id="preloader" class="preloader">
<div class="loader-gplus"></div>
</div>
<div id="st-container" class="st-container">
<div class="st-pusher">
<div class="st-content">
{% include top-section.html %}
{% include top-section.html %}
{% include post.html isStaticPost=page.isStaticPost %}
@ -23,86 +24,20 @@
{% include analytics.html %}
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- jQuery local fallback -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="{{ "/js/jquery-2.1.1.min.js " | prepend: site.baseurl }}><\/script>')
</script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!-- Bootstrap JS local fallback -->
<script>
if (typeof ($.fn.modal) === 'undefined') {
document.write('<script src="{{ "/js/bootstrap.min.js " | prepend: site.baseurl }}><\/script>')
}
</script>
<script src="{{ "/js/jquery.appear.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/waves.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/default.js" | prepend: site.baseurl }}"></script>
<script>Waves.displayEffect();</script>
<script src="{{ "/js/scripts.min.js" | prepend: site.baseurl }}"></script>
<script type="application/ld+json">
[{
"@context" : "http://schema.org",
"@type" : "Event",
"name" : "{{ site.title }}",
"description": "{{ site.description }}",
"image" : "{{ site.socialImageSrcGooglePlus | prepend: site.baseurl | prepend: site.url }}",
"url" : "{{ site.url }}",
"startDate" : "{{ site.eventStartTime }}",
"doorTime" : "{{ site.eventDoorTime }}",
"endDate" : "{{ site.eventEndTime }}",
"location" : {
"@type" : "Place",
"name" : "{{ site.eventLocationName }}",
"sameAs" : "{{ site.eventLocationLink }}",
"address" : {
"@type" : "PostalAddress",
"streetAddress" : "{{ site.eventStreetAddress }}",
"addressLocality" : "{{ site.eventAddressLocality }}",
"addressRegion" : "{{ site.eventAddressLocalityRegion }}",
"postalCode" : "{{ site.eventPostalCode }}",
"addressCountry" : "{{ site.eventAddressCountry }}"
}
},
"organizer" : {
"@type" : "Organization",
"name" : "{{ site.organizerName }}",
"alternateName" : "{{ site.organizerAlternateName }}",
"description" : "{{ site.organizerDescription }}"
"logo" : "{{ site.organizerLogo | prepend: site.baseurl | prepend: site.url }}",
"email" : "{{ site.organizerEmail }}",
"sameAs" : "{{ site.organizerLink }}"
},
"offers" : [
{% for ticketsOffer in site.ticketsOffers %}
{
"@type" : "Offer",
"name" : "{{ ticketsOffer.name }}",
"url" : "{{ ticketsOffer.buyButtonLink }}",
"price" : "{{ ticketsOffer.price }}",
"validFrom" : "{{ ticketsOffer.validFrom }}",
"validThrough" : "{{ ticketsOffer.validThrough }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"performer" : [
{% for speaker in site.data.speakers %}
{
"@type" : "Person",
"name" : "{{ speaker.name }} {{ speaker.surname }}",
"image" : "{{ speaker.thumbnailUrl | prepend: site.thumbnailsFolder | prepend: site.baseurl | prepend: site.url }}",
"jobTitle" : "{{ speaker.title }}",
"worksFor" : {
"@type" : "Organization",
"name" : "{{ speaker.company }}"
}
"sameAs" : "{{ speaker.social[0].link }}"
}{% if forloop.index != forloop.length %},{% endif %}
{% endfor %}
],
"eventStatus" : "EventScheduled",
"typicalAgeRange" : "16+"
}]
</script>
{% include schema-event.html %}
</body>
</html>

View file

@ -20,7 +20,8 @@
@import "partials/statistic";
@import "partials/latest-news";
@import "partials/rockstar-speakers";
@import "partials/buy-tickets";
@import "partials/tickets";
@import "partials/tickets-2";
@import "partials/location-map";
@import "partials/venue";
@import "partials/twitter-feed";

View file

@ -1,4 +1,3 @@
// Use Compass ('cause it rocks!)
@import "compass";
// Font weights

View file

@ -1,6 +1,6 @@
.blog {
h3 {
margin-top: 0;
margin: 0 0 20px;
}
}
.post-section {
@ -16,22 +16,27 @@
font-size: 15px;
line-height: 26px;
}
.social-links {
li {
margin-left: 4px;
}
}
}
.post-header {
height: 20px;
margin-top: 20px;
font-size: 14px;
.published {
padding: 0;
font-weight: $bold;
}
.publish-date {
color: #656565;
}
.share {
padding: 0;
text-align: right;
}
.social-links {
li {
margin-left: 4px;
}
}
}
.post-body {
margin-top: 19px;

View file

@ -1,20 +1,16 @@
.waves-button {
color: #fff;
&:hover, &:link, &:visited, .waves-button-input {
color: #fff;
}
}
.btn {
font-weight: $bold;
transition: $base-cubic-transition;
}
.btn-primary {
color: #fff !important;
user-select: none;
text-transform: uppercase;
border: 0;
background: $primary-color !important;
&:hover, &:focus, &:active, &.active {
outline: none;
color: #fff;
background: $primary-color-hover;
}
}

View file

@ -1,5 +1,5 @@
@include web-fonts(($fixed-font-family:($light, $regular, $bold)));
body, html {
body, html {
font-family: $fixed-font-family, $base-font-family;
font-size: $base-font-size;
font-weight: $regular;
@ -82,10 +82,6 @@ h6 {
time {
display: block;
}
.content-wrapper {
position: relative;
z-index: 1;
}
.st-content, .st-container, .st-pusher {
height: 100%;
}
@ -237,4 +233,4 @@ time {
margin-right: 4px;
display: inline-block;
}
}
}

View file

@ -1,8 +1,17 @@
.content-wrapper {
position: relative;
z-index: 1;
height: 100%;
}
.bordered {
display: inline-block;
color: rgba(255, 255, 255, .6);
border: 1px solid rgba(255, 255, 255, .6);
border-radius: 0;
&.dark-border {
color: rgba(51, 51, 51, .6);
border-color: rgba(51, 51, 51, .6);
}
}
.colored {
color: $primary-color;
@ -116,4 +125,7 @@
}
.reset-padding {
padding: 0;
}
.disable-scrolling {
overflow: hidden;
}

View file

@ -21,14 +21,22 @@
}
}
}
.explore {
margin-left: -12px;
position: absolute;
bottom: 50px;
left: 50%;
transition: $base-transition;
.typeout-fallback {
display: none;
@media (max-width: 767px) {
display: inline-block;
}
}
.explore {
margin-left: -16px;
position: absolute;
bottom: -25px;
left: 50%;
animation: callToAction 3.5s linear 0s infinite;
@media (max-width: 767px) {
margin-left: -12.5px;
bottom: 30px;
animation: none;
}
}
.icon-arrow-down {
@ -39,4 +47,26 @@
width: 24px;
height: 24px;
}
}
@keyframes callToAction {
0% {
opacity: 0;
transform: translateY(-16px);
}
25% {
opacity: 1;
transform: translateY(0);
}
75% {
opacity: 1;
transform: translateY(0);
}
85% {
opacity: 0;
transform: translateY(-16px);
}
100% {
opacity: 0;
transform: translateY(-16px);
}
}

View file

@ -0,0 +1,78 @@
$border-color: rgba(51, 51, 51, .6);
.tickets-2 {
.ticket-text {
margin: 0;
font-size: 32px;
font-weight: $light;
line-height: 39px;
}
.price {
@extend .ticket-text;
@media (max-width: 767px) {
font-size: 28px;
margin-top: 15px;
}
}
.title {
@extend .ticket-text;
padding-left: 10px;
text-align: left;
@media (max-width: 767px) {
padding: 0;
text-align: center;
}
}
.ticket-additional-text {
margin-top: 3px;
display: block;
font-size: 12px;
line-height: 13px;
@media (max-width: 767px) {
font-size: 13px;
line-height: 14px;
}
}
.ticket-additional-info {
@extend .ticket-additional-text;
padding-left: 10px;
text-align: left;
@media (max-width: 767px) {
padding: 0;
text-align: center;
}
}
.ticket-fallback {
padding-top: 2px;
line-height: 1.2;;
}
.tickets-info {
font-size: 16px;
}
.button {
@media (max-width: 767px) {
margin-top: 20px;
width: 100%;
}
a {
@media (max-width: 767px) {
width: 100%;
font-size: 20px;
}
}
}
}
.tickets-table {
margin: 0 auto;
margin-bottom: 20px;
padding: 0 15px;
border: 1px solid $border-color;
max-width: 850px;
}
.tickets-row {
padding: 20px 0;
border-bottom: 1px dashed $border-color;
&:last-child {
border: none;
}
}

View file

@ -47,7 +47,8 @@ $button-background-color-hover: #4d4d4d;
margin: 0;
}
}
.amount {
.price {
margin-bottom: 30px;
color: $primary-color;
}
.pricing-content {
@ -69,15 +70,21 @@ $button-background-color-hover: #4d4d4d;
}
.title {
font-size: 32px;
font-weight: $light;
margin: 0;
padding: 20px 0;
background: $title-background-color;
}
.amount {
font-size: 65px;
.price {
margin: 30px 0 10px;
padding: 26px 0;
font-size: 65px;
font-weight: $light;
color: #000;
}
.currency {
font-size: 32px;
}
.button {
font-size: 32px;
display: block;
@ -85,7 +92,7 @@ $button-background-color-hover: #4d4d4d;
padding: 7px 0 10px;
color: #fff;
background: $button-background-color;
font-weight: 100;
font-weight: $light;
text-decoration: none;
&:hover {
background: $button-background-color-hover;

View file

@ -4,15 +4,19 @@
height: 64px;
fill: #fff;
}
.tweet {
height: 130px;
@media (max-width: 767px) {
height: 200px;
}
p {
font-weight: $light;
}
}
.tweet {
height: 130px;
@media (max-width: 767px) {
height: 200px;
}
p {
font-weight: $light;
}
}
.tweets {
max-width: 850px;
margin: 0 auto;
}
.tweet-text {
font-size: 26px;

View file

@ -69,6 +69,7 @@ $figcaption-color: #3c4a50;
width: 100%;
height: 50px;
padding: 13px;
z-index: 2;
transition: $base-transition;
transform: translateY(100%);
color: $figcaption-color;

Binary file not shown.

4
css/main.min.css vendored

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="246.261" height="60" viewBox="251.092 496.181 246.261 60" enable-background="new 251.092 496.181 246.261 60"><g transform="translate(-985.904 -3367.887)"><g fill="none"><path d="M1249.415 3902.277l-12.117 19.772c-.681 1.11-.172 2.019 1.131 2.019h14.209c1.302 0 2.929-.906 3.615-2.013l6.416-10.365-13.254-9.413zM1267.028 3883.49l-10.774-17.406c-.686-1.107-2.312-2.014-3.615-2.014h-14.21c-1.303 0-1.811.909-1.13 2.019l13.796 22.511 7.755-10.919 8.178 5.809z"/></g><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="3797.808" y1="3464.018" x2="3813.295" y2="3473.696" gradientTransform="translate(-2553.789 443.162)"><stop offset=".54" stop-color="#0A985C"/><stop offset=".54" stop-color="#F6C25B"/></linearGradient><path fill="url(#a)" d="M1261.928 3907.385c-1.179-1.983-4.039-7.077-6.177-10.872l-2.412-4.248c.555 1.118.515 2.779-.122 3.819l-15.911 25.963c-.68 1.109-.172 2.02 1.132 2.02h14.207c1.303 0 2.93-.907 3.615-2.014l6.427-10.378c-.137.188.759-1.74-.759-4.29z"/><path d="M1249.422 3902.275l-12.116 19.773c-.68 1.109-.171 2.02 1.132 2.02h14.208c1.303 0 2.929-.907 3.615-2.014l6.419-10.366-13.258-9.413zM1267.036 3883.487l-10.776-17.406c-.683-1.108-2.311-2.013-3.613-2.013h-14.209c-1.304 0-1.812.909-1.132 2.02l13.797 22.513 7.757-10.921 8.176 5.807z" fill="none"/><path opacity=".09" fill="#010101" enable-background="new" d="M1272.339 3896.083c.688-1.108.688-2.922.002-4.03l-5.304-8.567-8.177-5.808-7.757 10.921 2.114 3.448c.681 1.11.681 2.928 0 4.038l-3.795 6.19 13.257 9.413 9.66-15.605z"/><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="3802.276" y1="3445.828" x2="3818.159" y2="3435.902" gradientTransform="translate(-2553.789 443.162)"><stop offset=".57" stop-color="#5586C5"/><stop offset=".57" stop-color="#D9423E"/></linearGradient><path fill="url(#b)" d="M1272.336 3892.058l-16.076-25.973c-.685-1.108-2.313-2.014-3.615-2.014h-14.212c-1.302 0-1.81.908-1.13 2.02l15.911 25.961 2.536 4.462c2.138 3.794 4.998 8.888 6.177 10.872 1.775 2.985.247 5.115.935 4.006l9.474-15.304c.686-1.109.686-2.92 0-4.03zm-19.103.024l.057.094.004.007-.061-.101zm1.134 1.979l.168.296-.168-.296zm-.014-.036l.271.479-.271-.479z"/><path fill="#4E4E4E" d="M1306.167 3890.121h14.065v17.564c-3.819 1.308-8.017 1.961-12.594 1.961-5.023 0-8.905-1.456-11.646-4.368s-4.112-7.066-4.112-12.46c0-5.261 1.5-9.354 4.502-12.282 3.001-2.927 7.207-4.391 12.616-4.391 2.051 0 3.986.193 5.807.58s3.407.877 4.759 1.471l-2.786 6.91c-2.348-1.159-4.926-1.739-7.734-1.739-2.571 0-4.559.836-5.963 2.508-1.404 1.671-2.106 4.061-2.106 7.166 0 3.047.635 5.368 1.906 6.966s3.102 2.396 5.494 2.396c1.308 0 2.511-.126 3.611-.379v-5.104h-5.817v-6.799h-.002zm45.676 2.096c0 5.439-1.498 9.629-4.492 12.572s-7.203 4.413-12.627 4.413h-10.543v-32.588h11.278c5.23 0 9.27 1.337 12.115 4.012s4.269 6.538 4.269 11.591zm-9.14.312c0-2.987-.59-5.201-1.771-6.642s-2.976-2.162-5.383-2.162h-2.563v18.255h1.961c2.675 0 4.637-.776 5.885-2.329s1.871-3.927 1.871-7.122zm25.371-2.408h14.064v17.564c-3.819 1.308-8.018 1.961-12.594 1.961-5.022 0-8.904-1.456-11.646-4.368-2.741-2.912-4.112-7.066-4.112-12.46 0-5.261 1.501-9.354 4.503-12.282 3.001-2.927 7.207-4.391 12.615-4.391 2.051 0 3.986.193 5.807.58s3.406.877 4.759 1.471l-2.786 6.91c-2.348-1.159-4.926-1.739-7.734-1.739-2.571 0-4.559.836-5.963 2.508-1.403 1.671-2.105 4.061-2.105 7.166 0 3.047.635 5.368 1.905 6.966s3.102 2.396 5.494 2.396c1.308 0 2.511-.126 3.611-.379v-5.104h-5.817l-.001-6.799z" enable-background="new"/></g><g fill="#4E4E4E"><path d="M443.941 541.314h-6.175l-10.23-14.756-3.143 2.563v12.193h-5.327v-32.587h5.327v15.558c1.456-1.783 2.905-3.5 4.347-5.148l8.804-10.409h6.063c-5.691 6.687-9.771 11.449-12.236 14.287l12.57 18.299zM441.202 516.662h5.706l5.015 13.975c.758 1.992 1.263 3.865 1.516 5.617h.179c.134-.816.379-1.809.735-2.975s2.243-6.705 5.661-16.617h5.662l-10.543 27.928c-1.917 5.127-5.112 7.689-9.584 7.689-1.159 0-2.289-.125-3.389-.379v-4.145c.788.178 1.687.268 2.697.268 2.526 0 4.302-1.465 5.327-4.391l.914-2.318-9.896-24.652zM466.369 510.132c0-.937.256-1.657.769-2.162s1.245-.758 2.195-.758c.922 0 1.639.253 2.151.758s.769 1.226.769 2.162c0 .892-.256 1.593-.769 2.106-.513.512-1.229.769-2.151.769-.95 0-1.683-.257-2.195-.769-.514-.513-.769-1.215-.769-2.106zm5.549 31.182h-5.238v-24.652h5.238v24.652zM482.286 541.314l-9.361-24.652h5.527l5.016 14.332c.861 2.408 1.382 4.354 1.56 5.84h.179c.134-1.07.653-3.016 1.561-5.84l5.015-14.332h5.572l-9.406 24.652h-5.663z"/></g></svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -1,5 +1,5 @@
---
layout: index
layout: default
permalink: /
---
@ -23,4 +23,6 @@ permalink: /
{% include subscribe.html %}
{% include buy-tickets.html %}
{% include tickets.html %}
{% include tickets-2.html %}

17
js/default.js Normal file
View file

@ -0,0 +1,17 @@
!function(a){a.fn.appear=function(g,f){var d=a.extend({data:void 0,one:!0,accX:0,accY:0},f);return this.each(function(){var e=a(this);if(e.appeared=!1,!g)return void e.trigger("appear",d.data);var c=a(window),h=function(){if(!e.is(":visible"))return void(e.appeared=!1);var b=c.scrollLeft(),h=c.scrollTop(),k=e.offset(),a=k.left,k=k.top,f=d.accX,g=d.accY,x=e.height(),s=c.height(),v=e.width(),t=c.width();h>k+x+g||k>h+s+g||b>a+v+f||a>b+t+f?e.appeared=!1:e.appeared||e.trigger("appear",d.data)},b=function(){if(e.appeared=
!0,d.one){c.unbind("scroll",h);var b=a.inArray(h,a.fn.appear.checks);0>b||a.fn.appear.checks.splice(b,1)}g.apply(this,arguments)};d.one?e.one("appear",d.data,b):e.bind("appear",d.data,b);c.scroll(h);a.fn.appear.checks.push(h);h()})};a.extend(a.fn.appear,{checks:[],timeout:null,checkAll:function(){var g=a.fn.appear.checks.length;if(0<g)for(;g--;)a.fn.appear.checks[g]()},run:function(){a.fn.appear.timeout&&clearTimeout(a.fn.appear.timeout);a.fn.appear.timeout=setTimeout(a.fn.appear.checkAll,20)}});
a.each("append prepend after before attr removeAttr addClass removeClass toggleClass remove css show hide".split(" "),function(g,f){var d=a.fn[f];d&&(a.fn[f]=function(){var f=d.apply(this,arguments);return a.fn.appear.run(),f})})}(jQuery);!function(a){a.fn.countTo=function(g){return g=g||{},a(this).each(function(){function f(c){c=d.formatter.call(h,c,d);b.text(c)}var d=a.extend({},a.fn.countTo.defaults,{from:a(this).data("from"),to:a(this).data("to"),speed:a(this).data("speed"),refreshInterval:a(this).data("refresh-interval"),decimals:a(this).data("decimals")},g),e=Math.ceil(d.speed/d.refreshInterval),c=(d.to-d.from)/e,h=this,b=a(this),q=0,l=d.from,k=b.data("countTo")||{};b.data("countTo",k);k.interval&&clearInterval(k.interval);k.interval=
setInterval(function(){l+=c;q++;f(l);"function"==typeof d.onUpdate&&d.onUpdate.call(h,l);e>q||(b.removeData("countTo"),clearInterval(k.interval),l=d.to,"function"==typeof d.onComplete&&d.onComplete.call(h,l))},d.refreshInterval);f(l)})};a.fn.countTo.defaults={from:0,to:0,speed:1E3,refreshInterval:100,decimals:0,formatter:function(a,f){return a.toFixed(f.decimals)},onUpdate:null,onComplete:null}}(jQuery);(function(){var a,g;a=this.jQuery;g=a(window);a.fn.stick_in_parent=function(f){var d,e,c,h,b,q,l;null==f&&(f={});h=f.sticky_class;d=f.inner_scrolling;c=f.parent;e=f.offset_top;null==e&&(e=0);null==c&&(c=void 0);null==d&&(d=!0);null==h&&(h="is_stuck");b=function(b,f,q,l,x,s,v){var t,B,u,z,n,p,C,A,r,m;if(!b.data("sticky_kit")){b.data("sticky_kit",!0);p=b.parent();null!=c&&(p=p.closest(c));if(!p.length)throw"failed to find stick parent";t=u=!1;r=a("<div />");r.css("position",b.css("position"));C=function(){var c,
h;c=parseInt(p.css("border-top-width"),10);h=parseInt(p.css("padding-top"),10);f=parseInt(p.css("padding-bottom"),10);q=p.offset().top+c+h;l=p.height();c=u?(u=!1,t=!1,b.insertAfter(r).css({position:"",top:"",width:"",bottom:""}),r.detach(),!0):void 0;x=b.offset().top-parseInt(b.css("margin-top"),10)-e;s=b.outerHeight(!0);v=b.css("float");r.css({width:b.outerWidth(!0),height:s,display:b.css("display"),"vertical-align":b.css("vertical-align"),"float":v});if(c)return m()};C();if(s!==l)return z=void 0,
n=e,m=function(){var c,a,m,y;m=g.scrollTop();null!=z&&(a=m-z);z=m;u?(y=m+s+n>l+q,t&&!y&&(t=!1,b.css({position:"fixed",bottom:"",top:n}).trigger("sticky_kit:unbottom")),m<x&&(u=!1,n=e,"left"!==v&&"right"!==v||b.insertAfter(r),r.detach(),c={position:"",width:"",top:""},b.css(c).removeClass(h).trigger("sticky_kit:unstick")),d&&(c=g.height(),s>c&&!t&&(n-=a,n=Math.max(c-s,n),n=Math.min(e,n),u&&b.css({top:n+"px"})))):m>x&&(u=!0,c={position:"fixed",top:n},c.width="border-box"===b.css("box-sizing")?b.outerWidth()+
"px":b.width()+"px",b.css(c).addClass(h).after(r),"left"!==v&&"right"!==v||r.append(b),b.trigger("sticky_kit:stick"));if(u&&(null==y&&(y=m+s+n>l+q),!t&&y))return t=!0,"static"===p.css("position")&&p.css({position:"relative"}),b.css({position:"absolute",bottom:f,top:"auto"}).trigger("sticky_kit:bottom")},A=function(){C();return m()},B=function(){g.off("scroll",m);a(document.body).off("sticky_kit:recalc",A);b.off("sticky_kit:detach",B);b.removeData("sticky_kit");b.css({position:"",bottom:"",top:""});
p.position("position","");if(u)return b.insertAfter(r).removeClass(h),r.remove()},g.on("touchmove",m),g.on("scroll",m),g.on("resize",A),a(document.body).on("sticky_kit:recalc",A),b.on("sticky_kit:detach",B),setTimeout(m,0)}};q=0;for(l=this.length;q<l;q++)f=this[q],b(a(f));return this}}).call(this);!function(a){var g=function(f,d){this.el=a(f);this.options=a.extend({},a.fn.typed.defaults,d);this.text=this.el.text();this.typeSpeed=this.options.typeSpeed;this.startDelay=this.options.startDelay;this.backSpeed=this.options.backSpeed;this.backDelay=this.options.backDelay;this.strings=this.options.strings;this.arrayPos=this.strPos=0;this.string=this.strings[this.arrayPos];this.stopNum=0;this.loop=this.options.loop;this.loopCount=this.options.loopCount;this.curLoop=1;this.stopArray=!1===this.loop?
this.strings.length-1:this.strings.length;this.build()};g.prototype={constructor:g,init:function(){var a=this;setTimeout(function(){a.typewrite(a.string,a.strPos)},a.startDelay)},build:function(){this.el.after('<span id="typed-cursor">|</span>');this.init()},typewrite:function(a,d){var e=Math.round(70*Math.random())+this.typeSpeed,c=this;setTimeout(function(){if(c.arrayPos<c.strings.length){if("^"===a.substr(d,1)){var h=a.substr(d+1).indexOf(" "),h=a.substr(d+1,h);a=a.replace("^"+h,"")}else h=0;setTimeout(function(){if(c.el.text(c.text+
a.substr(0,d)),d>a.length&&c.arrayPos<c.stopArray){clearTimeout(b);c.options.onStringTyped();var b=setTimeout(function(){c.backspace(a,d)},c.backDelay)}else if(d++,c.typewrite(a,d),!1===c.loop&&c.arrayPos===c.stopArray&&d===a.length)b=c.options.callback(),clearTimeout(b)},h)}else!0===c.loop&&!1===c.loopCount?(c.arrayPos=0,c.init()):!1!==c.loopCount&&c.curLoop<c.loopCount&&(c.arrayPos=0,c.curLoop+=1,c.init())},e)},backspace:function(a,d){var e=Math.round(70*Math.random())+this.backSpeed,c=this;setTimeout(function(){if(c.el.text(c.text+
a.substr(0,d)),d>c.stopNum)d--,c.backspace(a,d);else if(d<=c.stopNum){clearTimeout(h);var h=c.arrayPos+=1;c.typewrite(c.strings[c.arrayPos],d)}},e)}};a.fn.typed=function(f){return this.each(function(){var d=a(this),e=d.data("typed"),c="object"==typeof f&&f;e||d.data("typed",e=new g(this,c));"string"==typeof f&&e[f]()})};a.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],typeSpeed:0,startDelay:0,backSpeed:0,backDelay:500,
loop:!1,loopCount:!1,callback:function(){},onStringTyped:function(){}}}(window.jQuery);!function(a){function g(c){var a="",b;for(b in c)c.hasOwnProperty(b)&&(a+=b+":"+c[b]+";");return a}var f=f||{},d=document.querySelectorAll.bind(document),e={duration:500,show:function(c){var a=document.createElement("div");a.className="waves-ripple";this.appendChild(a);var b,d,f,k={top:0,left:0};b=this&&this.ownerDocument;b=(d=b.documentElement,"undefined"!=typeof this.getBoundingClientRect&&(k=this.getBoundingClientRect()),f=null!==b&&b===b.window?b:9===b.nodeType&&b.defaultView,{top:k.top+f.pageYOffset-
d.clientTop,left:k.left+f.pageXOffset-d.clientLeft});d=c.pageY-b.top-45;b=c.pageX-b.left-45;c="scale("+this.clientWidth/100*2.5+")";a.setAttribute("data-hold",Date.now());a.setAttribute("data-scale",c);a.setAttribute("data-x",b);a.setAttribute("data-y",d);b={top:d+"px",left:b+"px"};a.className+=" waves-notransition";a.setAttribute("style",g(b));a.className=a.className.replace("waves-notransition","");b["-webkit-transform"]=c;b["-moz-transform"]=c;b["-ms-transform"]=c;b["-o-transform"]=c;b.transform=
c;b.opacity="1";b["-webkit-transition-duration"]=e.duration+"ms";b["-moz-transition-duration"]=e.duration+"ms";b["-o-transition-duration"]=e.duration+"ms";b["transition-duration"]=e.duration+"ms";a.setAttribute("style",g(b))},hide:function(){for(var c=this,a=(1.4*c.clientWidth,null),b=c.children.length,d=0;b>d;d++)-1===c.children[d].className.indexOf("waves-ripple")||(a=c.children[d]);if(!a)return!1;var f=a.getAttribute("data-x"),k=a.getAttribute("data-y"),w=a.getAttribute("data-scale"),b=500-(Date.now()-
Number(a.getAttribute("data-hold")));0>b&&(b=0);setTimeout(function(){a.setAttribute("style",g({top:k+"px",left:f+"px",opacity:"0","-webkit-transition-duration":e.duration+"ms","-moz-transition-duration":e.duration+"ms","-o-transition-duration":e.duration+"ms","transition-duration":e.duration+"ms","-webkit-transform":w,"-moz-transform":w,"-ms-transform":w,"-o-transform":w,transform:w}));setTimeout(function(){try{c.removeChild(a)}catch(b){return!1}},e.duration)},b)},wrapInput:function(a){for(var d=
0;d<a.length;d++){var b=a[d];if("input"===b.tagName.toLowerCase()){var e=b.parentNode;if("i"===e.tagName.toLowerCase()&&-1!==e.className.indexOf("waves-effect"))return!1;var f=document.createElement("i");f.className=b.className+" waves-input-wrapper";var g=b.getAttribute("style"),w="width:"+b.offsetWidth+"px;height:"+b.clientHeight+"px;";g||(g="");f.setAttribute("style",w+g);b.className="waves-button-input";b.removeAttribute("style");e.replaceChild(f,b);f.appendChild(b)}}}};f.displayEffect=function(a){a=
a||{};"duration"in a&&(e.duration=a.duration);e.wrapInput(d(".waves-effect"));Array.prototype.forEach.call(d(".waves-effect"),function(a){a.addEventListener("mousedown",e.show,!1);a.addEventListener("mouseup",e.hide,!1);a.addEventListener("mouseleave",e.hide,!1)})};a.Waves=f}(window);

View file

@ -1,245 +0,0 @@
/*!
* Waves v0.5.0
* https://publicis-indonesia.github.io/Waves
*
* Copyright 2014 Publicis Metro Indonesia, PT. and other contributors
* Released under the BSD license
* https://github.com/publicis-indonesia/Waves/blob/master/LICENSE
*/
;(function(window) {
'use strict';
var Waves = Waves || {};
var $$ = document.querySelectorAll.bind(document);
// Find exact position of element
function position(obj) {
var left = 0;
var top = 0;
if (obj.offsetParent) {
do {
left += obj.offsetLeft;
top += obj.offsetTop;
} while (obj === obj.offsetParent);
}
return {
top: top,
left: left
};
}
function convertStyle(obj) {
var style = '';
for (var a in obj) {
if (obj.hasOwnProperty(a)) {
style += (a + ':' + obj[a] + ';');
}
}
return style;
}
var Effect = {
// Effect delay
duration: 5000,
show: function(e) {
console.log("show");
var el = this;
// Create ripple
var ripple = document.createElement('div');
ripple.className = 'waves-ripple';
el.appendChild(ripple);
// Get click coordinate and element witdh
var pos = position(el);
var relativeY = (e.pageY - pos.top) - 45;
var relativeX = (e.pageX - pos.left) - 45;
var scale = 'scale('+((el.clientWidth / 100) * 2.5)+')';
// Attach data to element
ripple.setAttribute('data-hold', Date.now());
ripple.setAttribute('data-scale', scale);
ripple.setAttribute('data-x', relativeX);
ripple.setAttribute('data-y', relativeY);
// Set ripple position
var rippleStyle = {
'top': relativeY+'px',
'left': relativeX+'px'
};
ripple.className = ripple.className + ' waves-notransition';
ripple.setAttribute('style', convertStyle(rippleStyle));
ripple.className = ripple.className.replace('waves-notransition', '');
// Scale the ripple
rippleStyle['-webkit-transform'] = scale;
rippleStyle['-moz-transform'] = scale;
rippleStyle['-ms-transform'] = scale;
rippleStyle['-o-transform'] = scale;
rippleStyle.transform = scale;
rippleStyle.opacity = '1';
rippleStyle['-webkit-transition-duration'] = Effect.duration + 'ms';
rippleStyle['-moz-transition-duration'] = Effect.duration + 'ms';
rippleStyle['-o-transition-duration'] = Effect.duration + 'ms';
rippleStyle['transition-duration'] = Effect.duration + 'ms';
ripple.setAttribute('style', convertStyle(rippleStyle));
},
hide: function() {
var el = this;
var width = el.clientWidth * 1.4;
// Get first ripple
var ripple = null;
var childrenLength = el.children.length;
for (var a = 0; a < childrenLength; a++) {
if (el.children[a].className.indexOf('waves-ripple') !== -1) {
ripple = el.children[a];
continue;
}
}
if (!ripple) {
return false;
}
var relativeX = ripple.getAttribute('data-x');
var relativeY = ripple.getAttribute('data-y');
var scale = ripple.getAttribute('data-scale');
// Get delay beetween mousedown and mouse leave
var diff = Date.now() - Number(ripple.getAttribute('data-hold'));
var delay = 500 - diff;
if (delay < 0) {
delay = 0;
}
// Fade out ripple after delay
setTimeout(function() {
var style = {
'top': relativeY+'px',
'left': relativeX+'px',
'opacity': '0',
// Duration
'-webkit-transition-duration': Effect.duration + 'ms',
'-moz-transition-duration': Effect.duration + 'ms',
'-o-transition-duration': Effect.duration + 'ms',
'transition-duration': Effect.duration + 'ms',
'-webkit-transform': scale,
'-moz-transform': scale,
'-ms-transform': scale,
'-o-transform': scale,
'transform': scale,
};
ripple.setAttribute('style', convertStyle(style));
setTimeout(function() {
try {
el.removeChild(ripple);
} catch(e) {
return false;
}
}, Effect.duration);
}, delay);
},
// Little hack to make <input> can perform waves effect
wrapInput: function(elements) {
for (var a = 0; a < elements.length; a++) {
var el = elements[a];
if (el.tagName.toLowerCase() === 'input') {
var parent = el.parentNode;
// If input already have parent just pass through
if (parent.tagName.toLowerCase() === 'i' && parent.className.indexOf('waves-effect') !== -1) {
return false;
}
// Put element class and style to the specified parent
var wrapper = document.createElement('i');
wrapper.className = el.className + ' waves-input-wrapper';
var elementStyle = el.getAttribute('style');
var dimensionStyle = 'width:'+el.offsetWidth+'px;height:'+el.clientHeight+'px;';
if (!elementStyle) {
elementStyle = '';
}
wrapper.setAttribute('style', dimensionStyle+elementStyle);
el.className = 'waves-button-input';
el.removeAttribute('style');
// Put element as child
parent.replaceChild(wrapper, el);
wrapper.appendChild(el);
}
}
}
};
Waves.displayEffect = function(options) {
console.log("init");
options = options || {};
if ('duration' in options) {
Effect.duration = options.duration;
}
//Wrap input inside <i> tag
Effect.wrapInput($$('.waves-effect'));
Array.prototype.forEach.call($$('.waves-effect'), function(i) {
if (window.Touch) {
i.addEventListener('touchstart', Effect.show, false);
i.addEventListener('touchend', Effect.hide, false);
}
i.addEventListener('mousedown', Effect.show, false);
i.addEventListener('mouseup', Effect.hide, false);
i.addEventListener('mouseleave', Effect.hide, false);
});
};
window.Waves = Waves;
})(window);

View file

@ -1,5 +1,5 @@
---
layout: logistics
layout: default
title: Get ready to DevFest
permalink: /logistics/
---

25
sitemap.xml Normal file
View file

@ -0,0 +1,25 @@
---
title : "Sitemap"
sitemap_exclude: y
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
{% for page in site.pages %}
{% if page.sitemap_exclude != 'y' %}
<url>
<loc>{{ page.url | prepend: site.baseurl | prepend: site.url }}</loc>
</url>
{% endif %}
{% endfor %}
{% for post in site.posts %}
<url>
<loc>{{ post.url | prepend: site.baseurl | prepend: site.url }}</loc>
</url>
{% endfor %}
</urlset>