diff --git a/app/content.json b/app/content.json new file mode 100644 index 0000000..63b56c3 --- /dev/null +++ b/app/content.json @@ -0,0 +1,26 @@ +[ + { + "title": "Diving into Angular 2", + "episode": "53", + "coverart": "http://assets.libsyn.com/content/9454132", + "summary": "Pascal Precht (@PascalPrecht), Senior Software Engineer at Thoughtram & creator of ng-translate, chats with us about the Angular 2 and how developers can get ready today.", + "resources": [ + { + "title": "Angular 2", + "link": "http://angular.io" + }, + { + "title": "TypeScript", + "link": "http://www.typescriptlang.org/" + }, + { + "title": "Definitely Typed", + "link": "https://github.com/DefinitelyTyped" + } + ] + }, + { + "title": "53: Diving into Angular 2", + "title2": "53: Diving into Angular 2" + } +] \ No newline at end of file diff --git a/app/elements/elements.html b/app/elements/elements.html index 82a3311..6bde329 100755 --- a/app/elements/elements.html +++ b/app/elements/elements.html @@ -14,6 +14,8 @@ + + @@ -37,6 +39,7 @@ + @@ -44,5 +47,6 @@ + diff --git a/app/elements/new-episode/new-episode.html b/app/elements/new-episode/new-episode.html index 9037d44..6b6b1ed 100644 --- a/app/elements/new-episode/new-episode.html +++ b/app/elements/new-episode/new-episode.html @@ -5,22 +5,174 @@ :host { height: 100%; width: 100%; + display: block; + position: relative; + font-family: 'Roboto', sans-serif; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; } + .playerloc { + position: relative; + display: block; + height: 150px; + margin-top: 50px; + } + podcast-player { + position: absolute; + bottom: 0; + } + + .episode-info h1{ + color: var(--primary-text-color); + font-weight: 100; + margin-top: 10px; + } + .episode-info h5{ + color: var(--secondary-text-color); + font-weight: 100; + margin-bottom: 0; + } + + .resources { + display: block; + } + .resources h3 { + font-weight: 100; + font-size: 20px; + } + .resources paper-material { + margin:0; + } + .resources paper-item { + padding: 10px 20px; + margin: 1px; + color: var(--secondary-text-color); + } + .resources .item-title { + font-weight: 100; + font-size: 16sp; + overflow: hidden; + text-overflow: ellipsis; + } + .resources .item-link { + font-weight: 100; + font-size: 14sp; + overflow: hidden; + text-overflow: ellipsis; + } + .resources .item-link a { + color: var(--secondary-text-color); + } + + @media all and (min-width: 0) and (max-width: 600px) { + .resources paper-material { + width: auto; + display: block; + } + .episode-info { + margin: 20px; + padding: 10px; + } + .episode-coverart { + width: 80px; + height: 80px; + } + .episode-info h1{ + font-size: 30px; + } + .episode-info h5{ + margin-top: 0; + } + } + @media all and (min-width: 601px) { + .resources paper-material { + width: 49%; + display: inline-block; + } + .episode-info { + margin: 50px; + padding: 20px; + } + .episode-coverart { + width: 120px; + height: 120px; + } + .episode-info h1{ + font-size: 40px; + } + .episode-info h5{ + margin-top: 40px; + } + } + \ No newline at end of file + diff --git a/app/elements/routing.html b/app/elements/routing.html index 4f8f9b4..3134631 100755 --- a/app/elements/routing.html +++ b/app/elements/routing.html @@ -12,7 +12,7 @@ diff --git a/app/episode-53_diving-into-angular-2.mp3 b/app/episode-53_diving-into-angular-2.mp3 new file mode 100644 index 0000000..b19a969 Binary files /dev/null and b/app/episode-53_diving-into-angular-2.mp3 differ diff --git a/app/index.html b/app/index.html index 1eb2247..be80f9f 100755 --- a/app/index.html +++ b/app/index.html @@ -1,4 +1,4 @@ - - + @@ -77,7 +76,7 @@

The Web Platform Today

- + New Episode Previous Stuff @@ -89,17 +88,17 @@

The Web Platform Today

- + - + - +
diff --git a/app/scripts/app.js b/app/scripts/app.js index 72bfca1..bf12aeb 100755 --- a/app/scripts/app.js +++ b/app/scripts/app.js @@ -13,7 +13,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN // Grab a reference to our auto-binding template // and give it some initial binding values // Learn more about auto-binding templates at http://goo.gl/Dx1u2g - var app = document.querySelector('#app'); + var app = document.querySelector('#app'), + content = []; + app.displayInstalledToast = function() { document.querySelector('#caching-complete').show(); @@ -37,5 +39,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN drawerPanel.closeDrawer(); } }; - })(document); diff --git a/app/styles/app-theme.html b/app/styles/app-theme.html index 2fb059d..069b407 100755 --- a/app/styles/app-theme.html +++ b/app/styles/app-theme.html @@ -201,10 +201,6 @@ left: 0px !important; }; } - - iron-pages { - padding: 48px 62px; - } .multicol.universal-footer [multicol] > [col] { flex: 1; diff --git a/bower.json b/bower.json index b0c770a..bbf27f2 100755 --- a/bower.json +++ b/bower.json @@ -24,10 +24,13 @@ "neon-elements": "PolymerElements/neon-elements#1.0.0", "page": "visionmedia/page.js#~1.6.3", "universal-footer": "*", - "podcast-player": "~1.0.1", + "podcast-player": "~1.0.5", "iron-image": "PolymerElements/iron-image#~1.0.2", "paper-tabs": "PolymerElements/paper-tabs#~1.0.1", - "paper-button": "PolymerElements/paper-button#~1.0.3" + "paper-button": "PolymerElements/paper-button#~1.0.3", + "iron-ajax": "PolymerElements/iron-ajax#~1.0.3", + "iron-localstorage": "PolymerElements/iron-localstorage#~1.0.4", + "paper-item": "PolymerElements/paper-item#~1.0.2" }, "devDependencies": { "web-component-tester": "*",