diff --git a/docs/site/components/how-to-get-help/how-to-get-help.html b/docs/site/components/how-to-get-help/how-to-get-help.html index f4fedc729f6..fa7ca6bbe90 100644 --- a/docs/site/components/how-to-get-help/how-to-get-help.html +++ b/docs/site/components/how-to-get-help/how-to-get-help.html @@ -1,4 +1,4 @@ -
+

I still need help!

diff --git a/docs/site/css/main.css b/docs/site/css/main.css index 3c34520c364..40e4db3651f 100755 --- a/docs/site/css/main.css +++ b/docs/site/css/main.css @@ -232,14 +232,29 @@ ul { margin-bottom: 10px; } -.subtle { - background-color: #f8f8f8; +.subtle-bg { + background-color: #f8f8f8; } .warning { - color: #DB4437; + color: #DB4437; +} + +.subtle--blue { + color: #A0C2F4; } +.subtle { + color: #f8f8f8; +} + +.white { + color: #fff; +} + +.white:after { + color: #fff !important; +} /* Header ========================================================================== */ @@ -250,6 +265,21 @@ ul { color: #fff; } +.hero-banner .quote-box--supplementary { + text-align: center; +} + +.latest-release { + margin-top: 10px; +} + +.latest-release--link { + color: #fff; + font-weight: bold; + margin-left: 5px; + margin-right: 5px; +} + .page-header { position: relative; padding: 1em; @@ -1304,6 +1334,7 @@ ul { .quote-box--supplementary { float: right; + width: 46%; } .block-title { @@ -1318,8 +1349,8 @@ ul { padding-bottom: 0; } - .hero-banner .col-right { - padding-top: 3.6em; + .hero-banner .quote-box--supplementary { + padding-top: 6.2em; } .hero-banner h1 { diff --git a/docs/site/home.html b/docs/site/home.html index 474740caa44..741ed589e2e 100755 --- a/docs/site/home.html +++ b/docs/site/home.html @@ -15,8 +15,11 @@

gcloud

-

One-line npm install

-
$ npm install --save gcloud
+
$ npm install --save gcloud
+

+ Latest Release {{latestRelease.name}} + {{latestRelease.date|date}} +

diff --git a/docs/site/home.js b/docs/site/home.js index 43371f61f91..13309a89ea3 100644 --- a/docs/site/home.js +++ b/docs/site/home.js @@ -21,8 +21,19 @@ angular controller: 'HomeCtrl' }); }) - .controller('HomeCtrl', function() { + .controller('HomeCtrl', function($scope, $http) { 'use strict'; + + $http.get('https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/releases') + .then(function(releases) { + var latestRelease = releases.data[0]; + + $scope.latestRelease = { + name: latestRelease.tag_name, + date: new Date(latestRelease.published_at), + link: latestRelease.html_url + }; + }); }) .run(function($rootScope, $location, versions) { 'use strict';