From a6db2082a01392f619fe3047fcd0c37c1a3423b1 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 27 Jun 2016 15:43:59 +0200 Subject: [PATCH] Add PHP to language menu, other minor fixes --- src/site/resources/css/site.css | 6 ++- src/site/resources/img/icon-lang-php.svg | 47 ++++++++++++++++++++++++ src/site/resources/index.html | 27 +++++++++----- 3 files changed, 69 insertions(+), 11 deletions(-) create mode 100644 src/site/resources/img/icon-lang-php.svg diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css index e5efa44caefb..f8ab75e6457e 100644 --- a/src/site/resources/css/site.css +++ b/src/site/resources/css/site.css @@ -132,10 +132,13 @@ img { } h1, h2, h3, h4, h5, h6 { - font-weight: normal; font-weight: 300; } +h2, h3 { + color: #4285f4; +} + /* Header ========================================================================== */ @@ -320,6 +323,7 @@ h1, h2, h3, h4, h5, h6 { .hero-banner h2 { margin-bottom: 0.2em; font-size: 1.3em; + color: #fff; } .hero-banner pre { diff --git a/src/site/resources/img/icon-lang-php.svg b/src/site/resources/img/icon-lang-php.svg new file mode 100644 index 000000000000..8700fd8be354 --- /dev/null +++ b/src/site/resources/img/icon-lang-php.svg @@ -0,0 +1,47 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/site/resources/index.html b/src/site/resources/index.html index cba3e64a0962..87c4977e8782 100644 --- a/src/site/resources/index.html +++ b/src/site/resources/index.html @@ -6,9 +6,10 @@ - gcloud + gcloud-java + @@ -33,6 +34,12 @@

Google Cloud Platform

+
  • + + PHP icon + PHP + +
  • Python icon @@ -54,11 +61,11 @@

    Google Cloud Platform

    -

    gcloud

    +

    gcloud-java

    Google Cloud Client Library for Java - an idiomatic, intuitive, and natural way for Java developers to integrate with Google Cloud Platform services, like Cloud Datastore and Cloud Storage.

    -

    Quickstart with Maven: Add gcloud to your pom.xml

    +

    Quickstart with Maven: add gcloud-java to your pom.xml

    <dependency>
       <groupId>com.google.cloud</groupId>
       <artifactId>gcloud-java</artifactId>
    @@ -111,7 +118,7 @@ 

    Quickstart with Maven: Add gcloud to your pom.xml

    What is it?

    -

    gcloud is a client library for accessing Google +

    gcloud-java is a client library for accessing Google Cloud Platform services that significantly reduces the boilerplate code you have to write. The library provides high-level API abstractions so they're easier to understand. It embraces @@ -120,9 +127,9 @@

    What is it?

    All this means you spend more time creating code that matters to you.

    -

    gcloud is configured to access Google Cloud Platform +

    gcloud-java is configured to access Google Cloud Platform services and authorize (OAuth 2.0) automatically on your behalf. - Add the gcloud dependency to your project and get a private key to be + Add the gcloud-java dependency to your project and get a private key to be up and ready to go. Better yet, if you are running on Google App Engine or Compute Engine, the private key is automatically detected.

    @@ -201,11 +208,11 @@

    Examples

    FAQ

    -

    What is the relationship between the gcloud-java library and the gcloud command-line tool?

    -

    Both the gcloud command-line tool and gcloud-java library are a part of the Google Cloud SDK: a collection of tools and libraries that enable you to easily create and manage resources on the Google Cloud Platform. The gcloud command-line tool can be used to manage both your development workflow and your Google Cloud Platform resources while the gcloud-java library is the Google Cloud Client Library for Java.

    +

    What is the relationship between the gcloud-java library and the gcloud command-line tool?

    +

    Both the gcloud command-line tool and gcloud-java library are a part of the Google Cloud SDK: a collection of tools and libraries that enable you to easily create and manage resources on the Google Cloud Platform. The gcloud command-line tool can be used to manage both your development workflow and your Google Cloud Platform resources while the gcloud-java library is the Google Cloud Client Library for Java.

    -

    What is the relationship between gcloud and the Google APIs Java Client?

    -

    The Google APIs Java Client is a client library for using the broad set of Google APIs. gcloud is built specifically for the Google Cloud Platform and is the recommended way to integrate Google Cloud APIs into your Java applications. If your application requires both Google Cloud Platform and other Google APIs, the 2 libraries may be used by your application.

    +

    What is the relationship between gcloud-java and the Google APIs Java Client?

    +

    The Google APIs Java Client is a client library for using the broad set of Google APIs. gcloud-java is built specifically for the Google Cloud Platform and is the recommended way to integrate Google Cloud APIs into your Java applications. If your application requires both Google Cloud Platform and other Google APIs, the 2 libraries may be used by your application.