From 5c8e326daa8a53f3907b540cbe0a8d5c58ce5837 Mon Sep 17 00:00:00 2001 From: Oleh Zasadnyy Date: Fri, 15 Aug 2014 00:27:17 +0300 Subject: [PATCH 1/4] Schedule page --- .gitignore | 2 + README.md | 3 +- _config.yml | 4 +- _data/organizers.yml | 10 + _data/schedule.yml | 46 + _data/sessions.yml | 25 +- _includes/header.html | 13 - _includes/hero.html | 4 +- _includes/navigation.html | 14 +- _includes/organizers.html | 30 +- _includes/partners.html | 34 + _includes/post.html | 6 +- _includes/rockstar-speakers.html | 8 +- _includes/schedule.html | 67 + _includes/session-modals.html | 61 + _includes/speakers-list-2.html | 8 +- _includes/speakers-list.html | 10 +- _includes/speakers-modals.html | 2 +- _includes/sponsors.html | 26 - _includes/subscribe.html | 12 +- _includes/team.html | 24 +- _layouts/default.html | 20 +- _layouts/index.html | 1 + _layouts/logistics.html | 1 + _layouts/post.html | 1 + _sass/config.rb | 33 +- _sass/main.scss | 5 +- _sass/modules/_utility.scss | 24 + _sass/partials/_buttons.scss | 12 +- _sass/partials/_global.scss | 199 +- _sass/partials/_helper.scss | 11 + _sass/partials/_location-map.scss | 3 + _sass/partials/_navigation.scss | 5 +- .../{_sponsors.scss => _partners.scss} | 8 +- _sass/partials/_schedule.scss | 173 + _sass/partials/_subscribe.scss | 14 +- _sass/partials/_zoe-effect.scss | 7 + _sass/remove-all-comments-monkey-patch.rb | 8 + _sass/vendor/_waves.scss | 139 +- _site/blog/call-for-papers/index.html | 21 +- _site/blog/hello-world/index.html | 21 +- _site/blog/index.html | 22 +- _site/cod/index.html | 21 +- _site/css/main.css | 5655 ----------------- _site/css/main.css.map | 4 +- _site/css/main.min.css | 46 +- _site/index.html | 124 +- _site/js/scripts.js | 31 +- _site/js/scripts.min.js | 2 +- _site/js/waves.min.js | 7 +- _site/logistics/index.html | 15 +- _site/speakers/index.html | 50 +- _site/team/index.html | 44 +- css/main.css | 5655 ----------------- css/main.css.map | 4 +- css/main.min.css | 46 +- img/organizers/gdg-cherkassy.png | Bin 0 -> 14801 bytes img/organizers/gdg-dnipropetrovsk.png | Bin 0 -> 17521 bytes img/organizers/gdg-kyiv.png | Bin 0 -> 10451 bytes img/organizers/gdg-lviv.svg | 129 + index.html | 2 +- js/jquery.sticky-kit.min.js | 8 + js/scripts.js | 31 +- js/scripts.min.js | 2 +- js/waves.js | 245 + js/waves.min.js | 7 +- schedule.html | 9 + 67 files changed, 1384 insertions(+), 11890 deletions(-) create mode 100644 .gitignore create mode 100644 _data/organizers.yml create mode 100644 _data/schedule.yml delete mode 100644 _includes/header.html create mode 100644 _includes/partners.html create mode 100644 _includes/schedule.html create mode 100644 _includes/session-modals.html delete mode 100644 _includes/sponsors.html rename _sass/partials/{_sponsors.scss => _partners.scss} (80%) create mode 100644 _sass/partials/_schedule.scss create mode 100644 _sass/remove-all-comments-monkey-patch.rb delete mode 100644 _site/css/main.css delete mode 100644 css/main.css create mode 100644 img/organizers/gdg-cherkassy.png create mode 100644 img/organizers/gdg-dnipropetrovsk.png create mode 100644 img/organizers/gdg-kyiv.png create mode 100644 img/organizers/gdg-lviv.svg create mode 100644 js/jquery.sticky-kit.min.js create mode 100644 js/waves.js create mode 100644 schedule.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8be296e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +_site +_sass/.sass-cache \ No newline at end of file diff --git a/README.md b/README.md index 237f8ed..f754c39 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ And for prefixing css3 properties use [Autoprefixer](https://github.com/ai/autop To watch changes in `.sass` files and compile it to the `.css` on a fly, run this command from `\_sass\` folder ```bash - compass watch + compass watch -c config.rb -e production ``` Learn more about Sass development from [documentation](https://github.com/gdg-x/zeppelin/wiki/Sass-development). @@ -99,6 +99,7 @@ Quick-start guide is not enough? Checkout [full documentation](https://github.co * [jquery.appear](https://github.com/bas2k/jquery.appear) * [jQuery countTo Plugin](https://github.com/mhuggins/jquery-countTo) * [Typed.js](https://github.com/mattboldt/typed.js) +* [Sticky-kit](https://github.com/leafo/sticky-kit) ### Who is using template? Going to use template? Go on! The only thing we ask - let us know at [*lviv@gdg.org.ua*](mailto:lviv@gdg.org.ua) so we can include you to this list, or make a pull request. diff --git a/_config.yml b/_config.yml index 9c46c74..210d854 100644 --- a/_config.yml +++ b/_config.yml @@ -17,9 +17,9 @@ googleAnalyticsSiteUrl: "gdg-x.github.io" # Location block eventLocationName: "Conference Hall" eventLocationAddress: "22 Teatral'na St, Lviv" -eventStartTime: "2014-10-18T10:00" +eventStartTime: "2014-10-24T10:00" eventStartTimeHumanReadable: "10:00" -eventEndTime: "2014-10-18T20:00" +eventEndTime: "2014-10-24T20:00" eventEndTimeHumanReadable: "20:00" eventPlaceCoordinates: "49.843237,24.028751" mapCenterCoordinates: "49.842537,24.025701" diff --git a/_data/organizers.yml b/_data/organizers.yml new file mode 100644 index 0000000..8b8fe93 --- /dev/null +++ b/_data/organizers.yml @@ -0,0 +1,10 @@ +- + group: 'Main organizer' + elements: + - {name: 'GDG Lviv', description: 'GDG Lviv - Open and volunteer geek community', link: 'http://lviv.gdg.org.ua', imageUrl: 'gdg-lviv.svg'} +- + 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'} \ No newline at end of file diff --git a/_data/schedule.yml b/_data/schedule.yml new file mode 100644 index 0000000..4ea9c30 --- /dev/null +++ b/_data/schedule.yml @@ -0,0 +1,46 @@ +- + date: "2014-10-24" + dateReadable: "October 24" + tracks: + - {title: "Android"} + - {title: "Web & Cloud"} + - {title: "Community"} + timeslots: + - { + startTime: "09:00", + endTime: "10:00", + slots: [001] + } + - { + startTime: "10:00", + endTime: "10:45", + slots: [002, 003, 004] + } + - { + startTime: "11:00", + endTime: "11:45", + slots: [003, 004] + } +- + date: "2014-10-25" + dateReadable: "October 25" + tracks: + - {title: "Android"} + - {title: "Web & Cloud"} + - {title: "Community"} + timeslots: + - { + startTime: "10:00", + endTime: "10:45", + slots: [001, 002, 003] + } + - { + startTime: "11:00", + endTime: "11:45", + slots: [002, 003] + } + - { + startTime: "13:00", + endTime: "13:45", + slots: [003] + } \ No newline at end of file diff --git a/_data/sessions.yml b/_data/sessions.yml index 7b80565..9a1ca1b 100644 --- a/_data/sessions.yml +++ b/_data/sessions.yml @@ -2,49 +2,44 @@ id: 001 title: "Material design: Visual style and imagery" description: "This session will reveal the invisible structures behind the material design system. Designers will show how to use the new color systems, typographic strategies, and the underlying grids that hold it together. They will show how imagery and the new framework material rendering can make apps more interesting and communicate more quickly." - track: android + track: "Android" subtype: workshop speakers: [3] - startTimeStamp: 1382774400 - endTimestamp: 1382796000 language: en + color: "#90be4e" - id: 002 title: "Building Cloud-powered wearable Apps" 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!" - track: cloud + track: "Web & Cloud" subtype: presentation speakers: [4, 5] - startTimeStamp: 1382774400 - endTimestamp: 1382796000 language: en + color: "#03a9f4" - id: 003 title: "The world is your playground - go global with Google" 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." - track: android + track: "Community" subtype: presentation speakers: [4] - startTimeStamp: 1382774400 - endTimestamp: 1382796000 language: en + color: "#e91e63" - id: 004 title: "Polymer: Interacting with Google Services using nothing but HTML" description: "Google has 1M APIs and services. Every API is different! Learn how you can interact with Google services without writing code! Designing your UI so it works across multiple screen sizes is no longer a nice to have, it is *the* way to build for the web. Using Polymer, we'll cover how to create robust, responsive elements that work across all platforms." - track: web + track: "Web & Cloud" subtype: keynote speakers: [6] - startTimeStamp: 1382774400 - endTimestamp: 1382796000 language: uk + color: "#03a9f4" - id: 005 title: "Test: Interacting with Google Services using nothing but HTML" description: "Google has 1M APIs and services. Every API is different! Learn how you can interact with Google services without writing code! Designing your UI so it works across multiple screen sizes is no longer a nice to have, it is *the* way to build for the web. Using Polymer, we'll cover how to create robust, responsive elements that work across all platforms." - track: web + track: "Web & Cloud" subtype: keynote speakers: [7] - startTimeStamp: 1382774400 - endTimestamp: 1382796000 language: en + color: "#03a9f4" diff --git a/_includes/header.html b/_includes/header.html deleted file mode 100644 index 3e6ef37..0000000 --- a/_includes/header.html +++ /dev/null @@ -1,13 +0,0 @@ - -
-
- - {% include navigation.html %} - -
-
-

{{ page.title }}

-
-
-
- \ No newline at end of file diff --git a/_includes/hero.html b/_includes/hero.html index 3122ba7..cd322a9 100644 --- a/_includes/hero.html +++ b/_includes/hero.html @@ -6,9 +6,7 @@

GDG DevFest 2014

{{site.eventDate}}

- - Become a speaker - + Become a speaker
  • Blog
  • - +
  • Schedule +
  • Speakers
  • Team
  • -
  • Logistics
  • - + \ No newline at end of file diff --git a/_includes/organizers.html b/_includes/organizers.html index 7c81a4b..0d94a6b 100644 --- a/_includes/organizers.html +++ b/_includes/organizers.html @@ -1,34 +1,20 @@ -
    +
    -
    Main organizer
    + {% for organizer in site.data.organizers %} +
    {{ organizer.group }}
      + {% for element in organizer.elements %}
    • - - Google Developers Group Lviv - -
    • -
    -
    Co-organizers
    - + {% endfor %}
    diff --git a/_includes/partners.html b/_includes/partners.html new file mode 100644 index 0000000..081a46b --- /dev/null +++ b/_includes/partners.html @@ -0,0 +1,34 @@ + +
    +
    +
    + {% for organizer in site.data.organizers %} +

    {{ organizer.group }}

    +
      + {% for element in organizer.elements %} +
    • + + {{ element.name }} + +
    • + {% endfor %} +
    + {% endfor %} +

    Partners

    + {% for partner in site.data.partners %} +
    {{ partner.group }}
    +
      + {% for element in partner.elements %} +
    • + + {{ element.name }} + +
    • + {% endfor %} +
    + {% endfor %} + Become a sponsor +
    +
    +
    + \ No newline at end of file diff --git a/_includes/post.html b/_includes/post.html index b420d2b..33d9992 100644 --- a/_includes/post.html +++ b/_includes/post.html @@ -42,13 +42,13 @@
    {{ content }}
    -
    diff --git a/_includes/schedule.html b/_includes/schedule.html new file mode 100644 index 0000000..3d737f4 --- /dev/null +++ b/_includes/schedule.html @@ -0,0 +1,67 @@ + +
    +
    + {% for day in site.data.schedule %} +
    +

    {{ day.dateReadable }}

    +
    +
    Day {{ forloop.index }}
    +
    + {% for track in day.tracks %} + {% assign trackColWidth = 12 | divided_by: forloop.length %} + + {% endfor %} +
    +
    +
    +
    +
    + {% for timeslot in day.timeslots %} +
    +
    + + +
    +
    + {% for slot in timeslot.slots %} + {% assign slotColWidth = 12 | divided_by: forloop.length %} + {% for session in site.data.sessions %} + {% if slot == session.id %} +
    +
    +
    {{ session.title }}
    + {{session.language | upcase}} +
      + {% for speaker in site.data.speakers %} + {% for session_speaker in session.speakers %} + {% if session_speaker == speaker.id %} +
    • +

      {{ speaker.name }} {{ speaker.surname }} + {{ speaker.company }} +

      +
    • + {% endif %} + {% endfor %} + {% endfor %} +
    +
    +
    + {% endif %} + {% endfor %} + {% endfor %} +
    +
    + {% endfor %} +
    + {% endfor %} +
    +
    + diff --git a/_includes/session-modals.html b/_includes/session-modals.html new file mode 100644 index 0000000..ce9cd2d --- /dev/null +++ b/_includes/session-modals.html @@ -0,0 +1,61 @@ + +
    + {% for session in site.data.sessions %} + + {% endfor %} +
    + diff --git a/_includes/speakers-list-2.html b/_includes/speakers-list-2.html index 3706494..4033ea9 100644 --- a/_includes/speakers-list-2.html +++ b/_includes/speakers-list-2.html @@ -4,8 +4,8 @@
    {% for speaker in site.data.speakers %}
    -
    -
    +
    +
    {% if speaker.ribbon != null %}
      @@ -37,9 +37,7 @@
    {% endfor %}
    - - Become a speaker - + Become a speaker
    \ No newline at end of file diff --git a/_includes/speakers-list.html b/_includes/speakers-list.html index d0e1229..b6d9e24 100644 --- a/_includes/speakers-list.html +++ b/_includes/speakers-list.html @@ -6,8 +6,8 @@ {% for speaker in site.data.speakers %}
    -
    -
    +
    +
    {% if speaker.ribbon != null %}
      @@ -47,10 +47,8 @@
    {% endfor %} -
    - - Become a speaker - +
    + Become a speaker
    diff --git a/_includes/speakers-modals.html b/_includes/speakers-modals.html index 0867090..c01de28 100644 --- a/_includes/speakers-modals.html +++ b/_includes/speakers-modals.html @@ -1,5 +1,5 @@ -
    +
    {% for speaker in site.data.speakers %} {% if page.modal == "all" or (page.modal == 'team' and (speaker.team != null or speaker.subTeam != null)) %}