Skip to content

Commit a6db208

Browse files
committed
Add PHP to language menu, other minor fixes
1 parent 20e5280 commit a6db208

File tree

3 files changed

+69
-11
lines changed

3 files changed

+69
-11
lines changed

src/site/resources/css/site.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,13 @@ img {
132132
}
133133

134134
h1, h2, h3, h4, h5, h6 {
135-
font-weight: normal;
136135
font-weight: 300;
137136
}
138137

138+
h2, h3 {
139+
color: #4285f4;
140+
}
141+
139142
/* Header
140143
========================================================================== */
141144

@@ -320,6 +323,7 @@ h1, h2, h3, h4, h5, h6 {
320323
.hero-banner h2 {
321324
margin-bottom: 0.2em;
322325
font-size: 1.3em;
326+
color: #fff;
323327
}
324328

325329
.hero-banner pre {
Lines changed: 47 additions & 0 deletions
Loading

src/site/resources/index.html

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
<head>
77
<meta charset="utf-8">
88
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9-
<title>gcloud</title>
9+
<title>gcloud-java</title>
1010
<meta name="description" content="Java idiomatic client for Google Cloud services">
1111
<meta name="viewport" content="width=device-width, initial-scale=1">
12+
<link rel="shortcut icon" href="https://cloud.google.com/images/gcp-favicon.ico">
1213
<link rel="stylesheet" href="css/normalize.css">
1314
<link rel="stylesheet" href="css/github.min.css">
1415
<link rel="stylesheet" href="css/site.css">
@@ -33,6 +34,12 @@ <h1 class="logo"><img src="img/logo-full.svg" alt="Google Cloud Platform" /></h1
3334
Node.js
3435
</a>
3536
</li>
37+
<li>
38+
<a href="https://googlecloudplatform.github.io/gcloud-php/" title="PHP docs page">
39+
<img src="img/icon-lang-php.svg" alt="PHP icon" class="menu-icon" />
40+
PHP
41+
</a>
42+
</li>
3643
<li>
3744
<a href="https://googlecloudplatform.github.io/gcloud-python/" title="Python docs page">
3845
<img src="img/icon-lang-python.svg" alt="Python icon" class="menu-icon" />
@@ -54,11 +61,11 @@ <h1 class="logo"><img src="img/logo-full.svg" alt="Google Cloud Platform" /></h1
5461
<section class="hero-banner">
5562
<div class="container clearfix">
5663
<div class="col col-left">
57-
<h1>gcloud</h1>
64+
<h1>gcloud-java</h1>
5865
<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>
5966
</div><!-- end of .col.col-left -->
6067
<div class="col col-right">
61-
<h2>Quickstart with Maven: Add gcloud to your pom.xml</h2>
68+
<h2>Quickstart with Maven: add gcloud-java to your pom.xml</h2>
6269
<pre>&lt;dependency&gt;
6370
&lt;groupId&gt;com.google.cloud&lt;/groupId&gt;
6471
&lt;artifactId&gt;gcloud-java&lt;/artifactId&gt;
@@ -111,7 +118,7 @@ <h2>Quickstart with Maven: Add gcloud to your pom.xml</h2>
111118
<div class="quote-box">
112119
<h3 class="block-title">What is it?</h3>
113120

114-
<p><code>gcloud</code> is a client library for accessing Google
121+
<p><code>gcloud-java</code> is a client library for accessing Google
115122
Cloud Platform services that significantly reduces the boilerplate
116123
code you have to write. The library provides high-level API
117124
abstractions so they're easier to understand. It embraces
@@ -120,9 +127,9 @@ <h3 class="block-title">What is it?</h3>
120127
All this means you spend more time creating code that matters
121128
to you.</p>
122129

123-
<p><code>gcloud</code> is configured to access Google Cloud Platform
130+
<p><code>gcloud-java</code> is configured to access Google Cloud Platform
124131
services and authorize (OAuth 2.0) automatically on your behalf.
125-
Add the <code>gcloud</code> dependency to your project and get a private key to be
132+
Add the <code>gcloud-java</code> dependency to your project and get a private key to be
126133
up and ready to go. Better yet, if you are running on Google
127134
App Engine or Compute Engine, the private key is automatically detected.
128135
</div>
@@ -201,11 +208,11 @@ <h3 class="block-title">Examples</h3>
201208
<section class="block faq">
202209
<div class="container">
203210
<h3 class="block-title">FAQ</h3>
204-
<h4>What is the relationship between the gcloud-java library and the gcloud command-line tool?</h4>
205-
<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>
211+
<h4>What is the relationship between the <code>gcloud-java</code> library and the <code>gcloud</code> command-line tool?</h4>
212+
<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>
206213

207-
<h4>What is the relationship between gcloud and the Google APIs Java Client?</h4>
208-
<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>
214+
<h4>What is the relationship between <code>gcloud-java</code> and the Google APIs Java Client?</h4>
215+
<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>
209216
</div><!-- end of .container -->
210217
</section><!-- end of .faq -->
211218
</article><!-- end of .main -->

0 commit comments

Comments
 (0)