[go: nahoru, domu]

Skip to content

Commit

Permalink
v1.0.4 (gdg-x#157)
Browse files Browse the repository at this point in the history
* Fix filters label. Fix adblockers issue.

* fix route on speaker details (gdg-x#111)

* Fix speakers/schedule dialogs

* Hide language toggle if there is less than two languages available

* Fix gdg-x#114

* Add rel="noopener noreferrer" to all links with target="_blank". Fix gdg-x#113

* Center header image. Fix gdg-x#112

* fix errors in IE 11 (gdg-x#117)

* fix error in IE 11

* improve

* fix error in IE 11

* Add share buttons to post page. Fix gdg-x#97

* fix The Team page's layout is weird and team member photos don't seem to load (gdg-x#116)

* Add Tweetledee docs to the configuration part. Fixed gdg-x#49

* Update configure-app.md

* Add support of Polymer CLI v.0.16.0+

* Fix schedule filters in other than Chrome browsers. Fixed gdg-x#127

* Add webcomponents-lite library to a Polymer build process. Fix gdg-x#66

* Fix gdg-x#131

* Add fallback color for session/speakers dialog. Fix gdg-x#119

* Fix analytics error for featured videos. Minor fix in speaker/session dialog

* Fix function declaration in blog-list element. Fixed responsive issue on footer element

* add no-cache to mutable content

* get rif of redundant caching

* add no-cache to mutable content (gdg-x#136)

* add no-cache to mutable content

* get rif of redundant caching

* Get rid of docment.write (gdg-x#138)

* add no-cache to mutable content

* get rif of redundant caching

* get rif of document.write

* Fix social share image and corresponding meta data. Fixed gdg-x#141

* Fix header on mobile. Fixed gdg-x#142

* fix error in console

* Display speakers in one row when possible on session blocks

* Wrap legend on schedule legend

* fix error in console

* Remove language change noise in analytics

* Add presentations to sessions for showcase. Fix flattenBehaviors issue on a blog post

* Open schedule on the today's date. Fix gdg-x#153

* Make shorter short_name in manifest.json. Fix gdg-x#151

* Make toast full width on small screens

* Update margin on share button in session dialog

* Hide bottom block on sessions if there are no speakers

* Add share button to the footer. Fix gdg-x#156
  • Loading branch information
ozasadnyy committed Oct 15, 2016
1 parent 48b4fa5 commit 21d0040
Show file tree
Hide file tree
Showing 15 changed files with 574 additions and 501 deletions.
939 changes: 480 additions & 459 deletions data/sessions.json

Large diffs are not rendered by default.

Binary file added images/social-share.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/social-share.png
Binary file not shown.
45 changes: 23 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,61 +11,62 @@
content="event, gdg, gde, devfest, google, programming, android, chrome, polymer, developers, web, cloud, androiddev">
<meta name="author" content="GDG Lviv">

<title>GDG DevFest Ukraine 2016</title>
<title>GDG DevFest Season 2016</title>

<link rel="canonical" href="https://devfest.gdg.org.ua">
<link rel="shortcut icon" sizes="32x32" href="images/favicon/favivon-32.png">
<link rel="canonical" href="https://hoverboard.firebaseapp.com/">
<link rel="shortcut icon" sizes="32x32" href="/images/favicon/favivon-32.png">

<meta name="theme-color" content="#F57C00">
<link rel="manifest" href="manifest.json">

<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes"> <!-- fallback for manifest.json -->
<meta name="application-name" content="GDG DevFest Ukraine 2016"> <!-- fallback for manifest.json -->
<meta name="application-name" content="GDG DevFest Season 2016"> <!-- fallback for manifest.json -->

<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="GDG DevFest Ukraine 2016">
<meta name="apple-mobile-web-app-title" content="GDG DevFest Season 2016">

<!-- Homescreen icons. -->
<link rel="shortcut icon" href="images/favicon/favicon-72.png">
<link rel="apple-touch-icon" href="images/touch/homescreen-48.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/touch/homescreen-72.png">
<link rel="apple-touch-icon" sizes="96x96" href="images/touch/homescreen-96.png">
<link rel="apple-touch-icon" sizes="144x144" href="images/touch/homescreen-144.png">
<link rel="apple-touch-icon" sizes="192x192" href="images/touch/homescreen-192.png">
<link rel="shortcut icon" href="/images/favicon/favicon-72.png">
<link rel="apple-touch-icon" href="/images/touch/homescreen-48.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/touch/homescreen-72.png">
<link rel="apple-touch-icon" sizes="96x96" href="/images/touch/homescreen-96.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/touch/homescreen-144.png">
<link rel="apple-touch-icon" sizes="192x192" href="/images/touch/homescreen-192.png">

<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="images/touch/homescreen-144.png">
<meta name="msapplication-TileImage" content="/images/touch/homescreen-144.png">
<meta name="msapplication-TileColor" content="#ECEFF1">
<meta name="msapplication-tap-highlight" content="no">

<!-- G+ sharing meta data -->
<meta itemprop="name" content="GDG DevFest Ukraine 2016">
<meta itemprop="name" content="GDG DevFest Season 2016">
<meta itemprop="description"
content="The biggest Google tech conference in Ukraine carefully crafted for you by GDG community! All about Android, Web and Cloud from the world experts">
<meta itemprop="image" content="images/social-share.png">
<meta itemprop="image" content="/images/social-share.jpg">
<meta itemprop="startDate" content="2016-09-09T09:00:00+03:00">
<meta itemprop="endDate" content="2016-09-10T19:00:00+03:00">

<!-- Facebook sharing meta data -->
<meta property="og:title" content="GDG DevFest Ukraine 2016">
<meta property="og:site_name" content="GDG DevFest Ukraine 2016">
<meta property="og:title" content="GDG DevFest Season 2016">
<meta property="og:site_name" content="GDG DevFest Season 2016">
<meta property="og:type" content="website">
<meta property="og:url" content="https://devfest.gdg.org.ua">
<meta property="og:url" content="https://hoverboard.firebaseapp.com/">
<meta property="og:description"
content="The biggest Google tech conference in Ukraine carefully crafted for you by GDG community! All about Android, Web and Cloud from the world experts">
<meta property="og:type" content="Event">
<meta property="og:image" content="images/social-share.png">
<meta property="og:image" content="/images/social-share.jpg">
<meta property="og:image:type" content="image/png" />

<!-- Twitter meta data -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@gdglviv">
<meta name="twitter:title" content="GDG DevFest Ukraine 2016">
<meta name="twitter:title" content="GDG DevFest Season 2016">
<meta name="twitter:description"
content="The biggest Google tech conference in Ukraine carefully crafted for you by GDG community! All about Android, Web and Cloud from the world experts">
<meta name="twitter:image" content="images/social-share.png">
<meta name="twitter:image" content="/images/social-share.jpg">

<link rel="dns-prefetch" href="https://www.google-analytics.com">
<link rel="dns-prefetch" href="https://apis.google.com">
Expand Down Expand Up @@ -134,11 +135,11 @@
{
"@context": "http://schema.org",
"@type": "Event",
"name": "GDG DevFest Ukraine 2016",
"name": "GDG DevFest Season 2016",
"description": "The biggest Google tech conference in Ukraine carefully crafted for you by GDG community! All about Android, Web and Cloud from the world experts",
"startDate": "2016-09-09T09:00:00+03:00",
"endDate": "2016-09-10T19:00:00+03:00",
"url": "https://devfest.gdg.org.ua",
"url": "https://hoverboard.firebaseapp.com/",
"location": {
"@type" : "Place",
"name" : "Pivdennyi Expo Center",
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "GDG DevFest Ukraine 2016",
"short_name": "GDG DevFest Ukraine 2016",
"name": "GDG DevFest Season 2016",
"short_name": "DevFest Season",
"icons": [
{
"src": "images/touch/homescreen-48.png",
Expand Down
3 changes: 2 additions & 1 deletion src/elements/featured-people.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@
}

.company {
margin-top: 4px;
padding: 0 16px;
display: block;
font-size: .7em;
line-height: 1.8;
line-height: 1;
}

.block-link {
Expand Down
41 changes: 33 additions & 8 deletions src/elements/footer-block.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@

<link rel="import" href="../../bower_components/paper-button/paper-button.html">
<link rel="import" href="../../bower_components/paper-menu-button/paper-menu-button.html">
<link rel="import" href="../../bower_components/paper-icon-button/paper-icon-button.html">
<link rel="import" href="../../bower_components/paper-item/paper-icon-item.html">
<link rel="import" href="../../bower_components/paper-menu/paper-menu.html">
<link rel="import" href="../../bower_components/paper-item/paper-item.html">

<link rel="import" href="../styles/shared-styles.html">
<link rel="import" href="../js-wrappers/g-plusone.html">
<link rel="import" href="../behaviors/localize-behavior.html">
<link rel="import" href="../behaviors/share-behavior.html">
<link rel="import" href="mailchimp-subscribe.html">


Expand All @@ -30,6 +33,7 @@
padding: 0;
};
--paper-menu-background-color: #fff;
--paper-menu-button-dropdown-background: #fff;
}

.container {
Expand Down Expand Up @@ -116,7 +120,8 @@
margin-right: 4px;
}

paper-item {
paper-item,
paper-icon-item {
cursor: pointer;
}

Expand Down Expand Up @@ -231,6 +236,28 @@
></g:plusone>
</div>

<paper-menu-button vertical-align="bottom" horizontal-align="left" share-menu>
<paper-icon-button icon="share" class="dropdown-trigger"></paper-icon-button>
<div class="dropdown-content">
<paper-icon-item on-tap="share" share="gplus">
<iron-icon icon="gplus" item-icon></iron-icon>
Google+
</paper-icon-item>
<paper-icon-item on-tap="share" share="facebook">
<iron-icon icon="facebook" item-icon></iron-icon>
Facebook
</paper-icon-item>
<paper-icon-item on-tap="share" share="twitter">
<iron-icon icon="twitter" item-icon></iron-icon>
Twitter
</paper-icon-item>
<paper-icon-item on-tap="share" share="copy">
<iron-icon icon="link" item-icon></iron-icon>
[[localize('copy-link')]]
</paper-icon-item>
</div>
</paper-menu-button>

<template is="dom-if" if="[[_showLanguageToggle(app.data.languages)]]">
<paper-menu-button vertical-align="bottom" horizontal-align="left">
<paper-button class="dropdown-trigger">
Expand All @@ -248,6 +275,7 @@
<paper-item
value="[[lang.key]]"
label="[[lang.name]]"
on-tap="_changeLanguage"
>[[lang.name]]
</paper-item>
</template>
Expand All @@ -268,19 +296,16 @@
is: 'footer-block',

behaviors: [
HOVERBOARD.LocalizeBehavior
],

observers: [
'languageChanged(app.lang)'
HOVERBOARD.LocalizeBehavior,
HOVERBOARD.ShareBehavior
],

scrollToTop: function (e) {
HOVERBOARD.Elements.Template.backToTop(e);
},

languageChanged: function (lang) {
HOVERBOARD.Analytics.trackEvent('language', 'select', lang);
_changeLanguage: function (e) {
HOVERBOARD.Analytics.trackEvent('language', 'select', e.target.label);
},

_getLinkTarget: function (newTab) {
Expand Down
12 changes: 8 additions & 4 deletions src/elements/schedule-day.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
}

.speaker-block {
padding: 16px 24px;
padding: 12px 24px;
color: #fff;
}

Expand Down Expand Up @@ -143,8 +143,12 @@
margin-right: 8px;
}

.speaker {
margin: 4px 0;
}

.speaker:not(:last-of-type) {
margin-bottom: 8px;
margin-right: 24px;
}

.person-detail {
Expand Down Expand Up @@ -204,8 +208,8 @@ <h2 class="session-title">[[subSession.title]]</h2>
</div>
</template>

<template is="dom-if" if="[[subSession.speakers]]">
<div class="speaker-block" relative>
<template is="dom-if" if="[[subSession.speakers.length]]">
<div class="speaker-block" layout horizontal wrap relative>
<div class="image-overlay"
style$="background-color: [[_getCustomStyleValue(subSession.mainTag)]]" fit></div>
<template is="dom-repeat" items="[[subSession.speakers]]" as="speaker">
Expand Down
2 changes: 1 addition & 1 deletion src/elements/schedule-subnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
</nav>

<div class="info-banner" layout horizontal justified>
<div class="legend" layout horizontal>
<div class="legend" layout horizontal wrap>
<template is="dom-repeat" items="[[schedule.tags]]" as="tag">
<div class="legend-item">
<i class="point"
Expand Down
13 changes: 13 additions & 0 deletions src/elements/toast-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
font-weight: 600;
cursor: pointer;
white-space: nowrap;
user-select: none;
}

paper-toast[fit-bottom] {
width: 100%;
min-width: 0;
border-radius: 0;
margin: 0;
}
</style>

Expand All @@ -29,6 +37,7 @@
duration="[[duration]]"
text="[[text]]"
on-tap="_handleTap" layout horizontal justified
fit-bottom$="{{app.isPhoneSize}}"
>

<span class="toast-action"
Expand All @@ -52,6 +61,10 @@

properties: {

app: {
type: Object
},

action: {
type: String,
value: null,
Expand Down
3 changes: 2 additions & 1 deletion src/hoverboard-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
exit-animation="scale-down-animation"
disable-controls="[[!video.disableControls]]"></video-dialog>

<toast-element id="toast"></toast-element>
<toast-element id="toast" app="{{app}}"></toast-element>

</template>

Expand Down Expand Up @@ -274,6 +274,7 @@
this.customStyle['--min-header-height'] = this.app.headerSettings.minHeight;
document.getElementsByName('theme-color')[0].content = this.app.headerSettings.backgroundColor;
this.updateStyles();
this.$.header.resetLayout();
},

_pageChanged: function (page) {
Expand Down
1 change: 1 addition & 0 deletions src/pages/blog-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<link rel="import" href="../../bower_components/neon-animation/neon-animated-pages.html">

<link rel="import" href="../behaviors/page-behavior.html">
<link rel="import" href="../behaviors/share-behavior.html">
<link rel="import" href="blog-list.html">
<link rel="import" href="post-page.html">

Expand Down
1 change: 0 additions & 1 deletion src/pages/post-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<link rel="import" href="../behaviors/localize-behavior.html">
<link rel="import" href="../behaviors/page-behavior.html">
<link rel="import" href="../behaviors/utils-behavior.html">
<link rel="import" href="../behaviors/share-behavior.html">


<dom-module id="post-page">
Expand Down
9 changes: 8 additions & 1 deletion src/pages/schedule-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,14 @@
_routePageChanged: function (day) {
if (this.selected) {
if (!day) {
this.set('routeData.day', 'day1');
var dayToSelect = null;
var today = new Date().toISOString().substring(0, 10);
for (var i = 0, length = this.schedule.length; i < length; i++) {
if (today === this.schedule[i].date) {
dayToSelect = 'day' + (i + 1);
}
}
this.set('routeData.day', (dayToSelect || 'day1'));
} else if (this.app.selectedDay !== day) {
this.set('app.selectedDay', day);
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/dialog-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
};
--paper-menu-button: {
margin-top: calc(-36px - var(--content-padding));
margin-right: var(--content-padding);
margin-right: -8px;
float: right;
z-index: 1;
};
Expand Down

0 comments on commit 21d0040

Please sign in to comment.