Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PHP to language menu, other minor fixes #1083

Merged
merged 1 commit into from
Jun 28, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/site/resources/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,13 @@ img {
}

h1, h2, h3, h4, h5, h6 {
font-weight: normal;
font-weight: 300;
}

h2, h3 {
color: #4285f4;
}

/* Header
========================================================================== */

Expand Down Expand Up @@ -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 {
Expand Down
47 changes: 47 additions & 0 deletions src/site/resources/img/icon-lang-php.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 17 additions & 10 deletions src/site/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>gcloud</title>
<title>gcloud-java</title>
<meta name="description" content="Java idiomatic client for Google Cloud services">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="https://cloud.google.com/images/gcp-favicon.ico">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/github.min.css">
<link rel="stylesheet" href="css/site.css">
Expand All @@ -33,6 +34,12 @@ <h1 class="logo"><img src="img/logo-full.svg" alt="Google Cloud Platform" /></h1
Node.js
</a>
</li>
<li>
<a href="https://googlecloudplatform.github.io/gcloud-php/" title="PHP docs page">
<img src="img/icon-lang-php.svg" alt="PHP icon" class="menu-icon" />
PHP
</a>
</li>
<li>
<a href="https://googlecloudplatform.github.io/gcloud-python/" title="Python docs page">
<img src="img/icon-lang-python.svg" alt="Python icon" class="menu-icon" />
Expand All @@ -54,11 +61,11 @@ <h1 class="logo"><img src="img/logo-full.svg" alt="Google Cloud Platform" /></h1
<section class="hero-banner">
<div class="container clearfix">
<div class="col col-left">
<h1>gcloud</h1>
<h1>gcloud-java</h1>
<p>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.</p>
</div><!-- end of .col.col-left -->
<div class="col col-right">
<h2>Quickstart with Maven: Add gcloud to your pom.xml</h2>
<h2>Quickstart with Maven: add gcloud-java to your pom.xml</h2>
<pre>&lt;dependency&gt;
&lt;groupId&gt;com.google.cloud&lt;/groupId&gt;
&lt;artifactId&gt;gcloud-java&lt;/artifactId&gt;
Expand Down Expand Up @@ -111,7 +118,7 @@ <h2>Quickstart with Maven: Add gcloud to your pom.xml</h2>
<div class="quote-box">
<h3 class="block-title">What is it?</h3>

<p><code>gcloud</code> is a client library for accessing Google
<p><code>gcloud-java</code> 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
Expand All @@ -120,9 +127,9 @@ <h3 class="block-title">What is it?</h3>
All this means you spend more time creating code that matters
to you.</p>

<p><code>gcloud</code> is configured to access Google Cloud Platform
<p><code>gcloud-java</code> is configured to access Google Cloud Platform
services and authorize (OAuth 2.0) automatically on your behalf.
Add the <code>gcloud</code> dependency to your project and get a private key to be
Add the <code>gcloud-java</code> 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.
</div>
Expand Down Expand Up @@ -201,11 +208,11 @@ <h3 class="block-title">Examples</h3>
<section class="block faq">
<div class="container">
<h3 class="block-title">FAQ</h3>
<h4>What is the relationship between the gcloud-java library and the gcloud command-line tool?</h4>
<p>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.</p>
<h4>What is the relationship between the <code>gcloud-java</code> library and the <code>gcloud</code> command-line tool?</h4>
<p>Both the <code>gcloud</code> command-line tool and <code>gcloud-java</code> 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 <code>gcloud</code> 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.</p>

<h4>What is the relationship between gcloud and the Google APIs Java Client?</h4>
<p>The <a href="https://github.com/google/google-api-java-client">Google APIs Java Client</a> 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.</p>
<h4>What is the relationship between <code>gcloud-java</code> and the Google APIs Java Client?</h4>
<p>The <a href="https://github.com/google/google-api-java-client">Google APIs Java Client</a> is a client library for using the broad set of Google APIs. <code>gcloud-java</code> 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.</p>
</div><!-- end of .container -->
</section><!-- end of .faq -->
</article><!-- end of .main -->
Expand Down