Skip to content

Commit

Permalink
feat(polymerday-home) add two videos with Rob and Taylor (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
manufosela authored and jorgecasar committed Oct 18, 2016
1 parent 72a7f36 commit e248b6f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sudo: false
language: node_js
node_js:
- "6.1"
Expand Down
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"app-localize-behavior": "PolymerElements/app-localize-behavior#^0.10.0",
"iron-ajax": "PolymerElements/iron-ajax#^1.4.3",
"app-storage": "PolymerElements/app-storage#^0.9.5",
"dom-repeat-n": "^1.0.2"
"dom-repeat-n": "^1.0.2",
"google-youtube":"https://github.com/GoogleWebComponents/google-youtube.git"
},
"devDependencies": {
"web-component-tester": "^4.0.0"
Expand Down
32 changes: 32 additions & 0 deletions src/views/polymerday-home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<link rel="import" href="../../bower_components/paper-button/paper-button.html">
<link rel="import" href="../../bower_components/timer-days/timer-days.html">
<link rel="import" href="../../bower_components/polymerday-twitter-timeline/polymerday-twitter-timeline.html">
<link rel="import" href="../../bower_components/google-youtube/google-youtube.html">

<link rel="import" href="../commons/polymerday-localize-behavior.html">

Expand Down Expand Up @@ -46,6 +47,16 @@
min-width: 300px;
}

.videos {
margin:0 auto;
text-align:center;
}
.youtube {
float:left;
width:45%;
margin:10px;
}

timer-days {
align-items: center;
background-image: url('../images/bg-timer-days.svg');
Expand Down Expand Up @@ -89,6 +100,27 @@
<h1 class="logo"><img src="../images/logo-polymerday-color.svg" alt="Polymer Day"></h1>
<span class="location">Madrid</span>
<p class="description">[[localize('home.intro')]]</p>
<div class="videos">
<google-youtube
class='youtube'
video-id="NbRKOP-tDeM"
height="427"
width="240"
rel="0"
start="0"
autoplay="0">
</google-youtube>

<google-youtube
class='youtube'
video-id="slH7dRRys68"
height="427"
width="240"
rel="0"
start="0"
autoplay="0">
</google-youtube>
</div>
<polymerday-twitter-timeline
lang="es"
height="500"
Expand Down

0 comments on commit e248b6f

Please sign in to comment.