Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ae5844

Browse files
committed
1 parent 8f50469 commit 4ae5844

29 files changed

+171
-181
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@ Or watch project presentation from [GDG[x] Townhall meeting](http://www.youtube.
3030

3131
## Local development
3232

33-
Check if you have [all requirments for local environment](http://jekyllrb.com/docs/installation/), install [Jekyll server](http://jekyllrb.com/docs/quickstart/) gem and run this command from project root folder:
33+
Check if you have [all requirments for local environment](http://jekyllrb.com/docs/installation/), install [Jekyll server](http://jekyllrb.com/docs/quickstart/) gem.
34+
Install GitHub pages
35+
```bash
36+
gem install github-pages
37+
```
3438

39+
Run this command from project root folder:
3540
```bash
3641
jekyll serve -w
3742
```
38-
Site will be available at http://127.0.0.1:4000/zeppelin/
43+
Site will be available at http://127.0.0.1:4000/zeppelin/ or http://localhost:4000/zeppelin/ (on Windows)
3944

4045
**NOTE:** in this mode all changes to html and data files will be automatically regenerated, but after changing ```_config.yml``` you have to restart server.
4146

42-
### Sass support
43-
Install Sass. Ruby uses Gems to manage its various packages of code like Sass. In your open terminal window type:
44-
```bash
45-
gem install sass
46-
```
47-
48-
Also you need to install the latest version of [Compass](http://compass-style.org/) with command
47+
### Sass(Compass) support
48+
Install the latest version of [Compass](http://compass-style.org/). Ruby uses Gems to manage its various packages of code like Sass. In your open terminal window type:
4949
```bash
5050
gem install compass --pre
5151
```
@@ -60,10 +60,10 @@ And for prefixing css3 properties use [Autoprefixer](https://github.com/ai/autop
6060
gem install autoprefixer-rails
6161
```
6262

63-
To watch changes in `.sass` files and compile it to the `.css` on a fly, run this command from `\_sass\` folder
64-
```bash
65-
compass watch -c config.rb -e production
66-
```
63+
**Note:** Also you need to install [Node.js](http://nodejs.org/download/)
64+
65+
To watch changes of `.sass` files and compile it to the `.css` on a fly change property `safe: true` to `safe: false` in `_config.yml`.
66+
**Note: It works only on local machine, because GitHub runs Jekyll in `--save` [mode](https://help.github.com/articles/using-jekyll-with-pages/#configuration-overrides)**
6767

6868
Learn more about Sass development from [documentation](https://github.com/gdg-x/zeppelin/wiki/Sass-development).
6969

_config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Plugins
2+
gems:
3+
- jekyll-sitemap
4+
safe: false
5+
16
# Build Settings
27
markdown: kramdown
38
permalink: pretty
@@ -112,7 +117,7 @@ venueFeatures: ["3 huge cinema screens", "Doulby Digital Surround EX audio syste
112117
tweetsFeedImage: "twitter-feed.jpg"
113118
tweetsFeedTitle: "What's Up?"
114119
twitterHashTag: "devfest"
115-
twitterFeed: "http://lviv.gdg.org.ua/tweetledee/favoritesjson.php?c=10&cache_interval=900"
120+
twitterFeed: "http://lviv.gdg.org.ua/tweetledee/favoritesjson.php?c=10&cache_interval=8000"
116121

117122
# Partners Block
118123
organizersTitle: "Organizers"

_data/sessions.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,26 @@
1616
speakers: [3, 6]
1717
language: en
1818
complexity: "Intermediate"
19+
video: "//www.youtube.com/embed/v3SCiUqI1yQ"
1920
-
2021
id: 002
2122
title: "Building Cloud-powered wearable Apps"
22-
description: "Android wear extends the Android platform to a new generation of wearable devices. The user experience is designed specifically for wearables. In this session you’ll see how to use the Android Wear SDK to build a connected cloud-powered application. Using Android Studio and it’s cloud extensions, you’ll see how to build an app that ‘listens’ for changes in stock prices, and notifies a wearable device. You’ll also see how to use voice controls on the device to trigger interactions with the app, such as buying or selling the stock after a notification. Call to action: Get the SDK and start building apps today!"
23+
description: "I will speak and show how to:<br>- Respond to touch events in your views with touch feedback animations.<br>- Hide and show views with reveal effect animations.<br>- Switch between activities with custom activity transition animations.<br>- Create more natural animations with curved motion.<br>- Animate changes in one or more view properties with view state change animations.<br>- Create icon morphing transition"
2324
subtype: presentation
2425
speakers: [4, 5]
2526
language: en
26-
complexity: "Beginner"
27+
complexity: "Intermediate"
28+
presentation: "https://speakerdeck.com/gdglviv/dmytro-danylyk-android-l-animation"
29+
video: "//www.youtube.com/embed/v3SCiUqI1yQ"
2730
-
2831
id: 003
29-
title: "The world is your playground - go global with Google"
32+
title: "Android L Animation"
3033
description: "More than ever before, developing for global audience is a necessity than a luxury in today's world. Are you ready ... where to start? what does it entail? how do I do it? how to promote in local markets? This talk will address above questions for android, chrome and web developers. In our journey of the where, what and how, we will take an in-depth look at various internationalization and localization tools & strategies available to you."
3134
subtype: presentation
3235
speakers: [4]
3336
language: en
34-
complexity: "Expert"
37+
complexity: "Intermediate"
38+
presentation: "https://speakerdeck.com/gdglviv/dmytro-danylyk-android-l-animation"
3539
-
3640
id: 004
3741
title: "Polymer: Interacting with Google Services using nothing but HTML"
@@ -40,6 +44,8 @@
4044
speakers: [6]
4145
language: uk
4246
complexity: "Beginner"
47+
presentation: "https://speakerdeck.com/gdglviv/mateusz-herych-guava-beyond-collections"
48+
video: "//www.youtube.com/embed/v3SCiUqI1yQ"
4349
-
4450
id: 005
4551
title: "Test: Interacting with Google Services using nothing but HTML"
@@ -48,3 +54,5 @@
4854
speakers: [7]
4955
language: en
5056
complexity: "Expert"
57+
presentation: "https://speakerdeck.com/gdglviv/michal-tajchert-wearables-views"
58+
video: "//www.youtube.com/embed/v3SCiUqI1yQ"

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<meta name="msapplication-TileImage" content="{{ "/img/favicons/mstile-144x144.png" | prepend: site.baseurl }}">
4242
<meta name="msapplication-config" content="{{ "/img/favicons/browserconfig.xml" | prepend: site.baseurl }}">
4343

44-
<link href="{{ "/css/main.min.css" | prepend: site.baseurl }}" rel="stylesheet">
44+
<link href="{{ "/css/main.css" | prepend: site.baseurl }}" rel="stylesheet">
4545

4646
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
4747
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->

_includes/navigation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<header id="top-header" class="top-header">
22
<div class="overlay white-solid"></div>
3-
<svg id="menu-trigger" class="menu-trigger icon icon-menu visible-xs" viewBox="0 0 32 32" data-effect="st-effect">
3+
<svg id="menu-trigger" class="menu-trigger icon icon-menu visible-xs" viewBox="0 0 32 32">
44
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-menu"></use>
55
</svg>
66
<a href="{{ site.baseurl }}/" id="logo-header" class="logo-header">

_includes/schedule.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h5 class="slot-detail track-header-title"></h5>
3737
{% if slot != 404 %}
3838
{% for session in site.data.sessions %}
3939
{% if slot == session.id and session.service == null %}
40-
<div class="slot col-md-{{ slotColWidth }} col-xs-12 flexbox-item-height" data-slot-detail="{{ day.tracks[slotIndex].title }}" data-toggle="modal" data-target="#sessionDetail-{{ session.id }}">
40+
<div id="session-{{ session.id }}" class="slot col-md-{{ slotColWidth }} col-xs-12 flexbox-item-height" data-slot-detail="{{ day.tracks[slotIndex].title }}" data-toggle="modal" data-target="#sessionDetail-{{ session.id }}">
4141
<div class="color-line" style="background: {{ day.tracks[slotIndex].color }}"></div>
4242
<div class="slot-content" style="border-right-color: {{ day.tracks[slotIndex].color }}">
4343
<h5 class="slot-title" itemprop="name">{{ session.title }}</h5>

_includes/sessions-modals.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@
1414
<h4>{{ session.title }}</h4>
1515
<span class="theme-metadata"><span class="caption">Language: </span>{{ session.language }}</span>
1616
<span class="theme-metadata"><span class="caption">Complexity: </span>{{ session.complexity }}</span>
17+
{% if session.video %}
18+
<div class="theme-video embed-responsive embed-responsive-16by9">
19+
<iframe class="embed-responsive-item" src="{{ session.video }}"></iframe>
20+
</div>
21+
{% endif %}
1722
<p class="theme-description">{{ session.description }}</p>
23+
{% if session.presentation %}
24+
<a class="theme-presentation" href="{{ session.presentation }}" title="Presentation" target="_blank">View presentation</a>
25+
{% endif %}
1826
<hr>
1927
<div class="people-details">
2028
{% for speaker in site.data.speakers %}

_includes/speakers-modals.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@
1919
<h4>{{ session.title }}</h4>
2020
<span class="theme-metadata"><span class="caption">Language: </span>{{ session.language }}</span>
2121
<span class="theme-metadata"><span class="caption">Complexity: </span>{{ session.complexity }}</span>
22+
{% if session.video %}
23+
<div class="theme-video embed-responsive embed-responsive-16by9">
24+
<iframe class="embed-responsive-item" src="{{ session.video }}"></iframe>
25+
</div>
26+
{% endif %}
2227
<p class="theme-description">{{ session.description }}</p>
28+
{% if session.presentation %}
29+
<a class="theme-presentation" href="{{ session.presentation }}" title="Presentation" target="_blank">View presentation</a>
30+
{% endif %}
2331
{% endif %}
2432
{% endfor %}
2533
{% endfor %}

_layouts/compress.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
#
3+
# Jekyll layout that compresses HTML
4+
# v0.3.1
5+
# https://github.com/penibelst/jekyll-compress-html
6+
# © 2014 Anatol Broder (http://penibelst.de/)
7+
# MIT License
8+
#
9+
---
10+
11+
{% assign _pres = content | split: '<pre' %}{% for _pre1 in _pres %}{% assign _pre2 = _pre1 | split: '</pre>' %}{% if _pre2.size == 2 %}<pre{{ _pre2.first }}</pre>{% endif %}{% assign _second = _pre2.last | split: ' ' | join: ' ' %}{% for _element in site.compress_html.clippings %}{% assign _edges = ' <element,<element; </element>,</element>;</element> ,</element>' | replace: 'element', _element | split: ';' %}{% for _edge in _edges %}{% assign _replacement = _edge | split: ',' %}{% assign _second = _second | replace: _replacement[0], _replacement[1] %}{% endfor %}{% endfor %}{% for _element in site.compress_html.endings %}{% assign _closing = '</element>' | replace: 'element', _element %}{% assign _second = _second | remove: _closing %}{% endfor %}{{ _second }}{% endfor %}

_layouts/default.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: compress
3+
---
4+
15
<!DOCTYPE html>
26
<html lang="en">
37

_plugins/generator_scss.rb

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# Jekyll Generator for SCSS
3+
#
4+
# (File paths in this description relative to jekyll project root directory)
5+
# Place this file in ./_plugins
6+
# Place .scss files in ./_scss
7+
# Compiles .scss files in ./_scss to .css files in whatever directory you indicated in your config
8+
# Config file placed in ./_sass/config.rb
9+
#
10+
11+
require 'sass'
12+
require 'pathname'
13+
require 'compass'
14+
require 'compass/exec'
15+
16+
module Jekyll
17+
18+
class CompassGenerator < Generator
19+
safe true
20+
21+
def generate(site)
22+
Dir.chdir File.expand_path('../_sass', File.dirname(__FILE__)) do
23+
Compass::Exec::SubCommandUI.new(%w(compile)).run!
24+
end
25+
end
26+
27+
end
28+
29+
end

_sass/config.rb

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,18 @@
1010
end
1111

1212
http_path = "/"
13-
css_dir = "../css"
1413
sass_dir = "./"
14+
css_dir = "../css"
1515
images_dir = "../img"
1616
javascripts_dir = "../js"
1717

18-
if environment == :development
19-
line_comments = true
20-
relative_assets = true
21-
output_style = :expanded
22-
end
23-
24-
if environment == :production
25-
line_comments = false
26-
relative_assets = true
27-
output_style = :compressed
28-
29-
require 'fileutils'
30-
on_stylesheet_saved do |file|
31-
if File.exists?(file)
32-
filename = File.basename(file, File.extname(file))
33-
File.rename(file, "../css" + "/" + filename + ".min" + File.extname(file))
34-
end
35-
end
36-
end
18+
line_comments = false
19+
relative_assets = true
20+
output_style = :compressed
3721

3822
# Remove multiline comments - monkey patch
3923
class Sass::Tree::Visitors::Perform < Sass::Tree::Visitors::Base
40-
# Removes all comments completely
24+
# # Removes all comments completely
4125
def visit_comment(node)
4226
return []
4327
end

_sass/partials/_helper.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
background-position: center center !important;
2525
background-size: cover !important;
2626
&.parallax {
27-
background-attachment: fixed;
27+
//background-attachment: fixed;
2828
box-shadow: inset 0 0 12px 3px rgba(0, 0, 0, .75);
2929
}
3030
&.standart-height {
@@ -128,7 +128,4 @@
128128
}
129129
.reset-padding {
130130
padding: 0;
131-
}
132-
.disable-scrolling {
133-
overflow: hidden;
134131
}

_sass/partials/_modal.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ $modal-highlight-color: #212121;
2828
}
2929
.modal-dialog {
3030
@media (min-width: 768px) {
31-
width: 740px;
32-
margin-top: 100px;
31+
width: 740px;
32+
margin-top: 100px;
3333
}
3434
}
3535
.modal-body {
@@ -44,8 +44,14 @@ $modal-highlight-color: #212121;
4444
color: $modal-highlight-color;
4545
}
4646
}
47+
.theme-video {
48+
margin: 20px 0;
49+
}
4750
.theme-description {
48-
margin: 12px 0 37px;
51+
margin: 12px 0 20px;
52+
}
53+
.theme-presentation {
54+
font-size: 15px;
4955
}
5056
.people-details {
5157
.row {

_sass/partials/_navigation.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ nav {
6868
height: 100%;
6969
transition: $long-transition;
7070
background: #fff;
71-
transform: translate(-100%,0);
71+
transform: translateX(-100%);
7272
}
7373
.st-menu-open & {
7474
transform: translate(0);
@@ -89,6 +89,9 @@ nav {
8989
}
9090
.top-header.after-scroll & {
9191
transform: translateY(20px);
92+
@media (max-width: 767px) {
93+
transform: translateY(0);
94+
}
9295
}
9396
}
9497
li {

_sass/vendor/_waves.scss

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
/*!
3-
* Waves v0.5.1
4-
* https://publicis-indonesia.github.io/Waves
5-
*
6-
* Copyright 2014 Publicis Metro Indonesia, PT. and other contributors
7-
* Released under the BSD license
8-
* https://github.com/publicis-indonesia/Waves/blob/master/LICENSE
3+
* Waves v0.5.4
4+
* http://fian.my.id/Waves
5+
*
6+
* Copyright 2014 Alfiana E. Sibuea and other contributors
7+
* Released under the MIT license
8+
* https://github.com/fians/Waves/blob/master/LICENSE
99
*/
1010

1111
@mixin transition ($transition) {
@@ -64,8 +64,9 @@
6464
}
6565

6666
.waves-button,
67-
.waves-icon {
68-
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
67+
.waves-circle {
68+
-webkit-transform: translateZ(0);
69+
-webkit-image-mask: -webkit-radial-gradient(circle, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
6970
}
7071

7172
.waves-button,

automation/minifying/minify_all.bat

Lines changed: 0 additions & 11 deletions
This file was deleted.

automation/minifying/minify_css.bat

Lines changed: 0 additions & 9 deletions
This file was deleted.

automation/minifying/minify_main_css.bat

Lines changed: 0 additions & 10 deletions
This file was deleted.

css/main.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/main.min.css

Lines changed: 0 additions & 2 deletions
This file was deleted.

feed.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: none
2+
layout: null
33
---
44
<?xml version="1.0" encoding="UTF-8"?>
55
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

0 commit comments

Comments
 (0)