Skip to content

Commit 3988df9

Browse files
committed
Updates ml related copy to "ai"
1 parent 023c00c commit 3988df9

File tree

7 files changed

+19
-10
lines changed

7 files changed

+19
-10
lines changed

app/public/img/ai-banner.png

66.3 KB
Loading

app/public/logos/ml.png

-24.1 KB
Loading

app/src/assets/css/tailwind.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,11 @@
344344
top: 44px;
345345
}
346346

347+
.ai-hero-clipart {
348+
width: 308px;
349+
top: 0;
350+
}
351+
347352
.impact-number {
348353
font-size: 64px;
349354
}

app/src/views/Home.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@
6363
Gemini API
6464
</h2>
6565
<p class="text-lg px-8 pb-8">
66-
Build and deploy production ready generative AI experiences, enhanced by Gemini models. Get started for free!
66+
Build and deploy production-ready generative AI experiences using Gemini models, APIs, and GenAI frameworks.
6767
</p>
6868
<MaterialButton type="primary" class="mb-12">
6969
<div class="frc">
70-
<a href="#all-products">Get started</a>
70+
<a href="https://ai.google.dev/gemini-api/docs">Learn more</a>
7171
</div>
7272
</MaterialButton>
7373
</div>
@@ -83,7 +83,7 @@
8383
</p>
8484
<MaterialButton type="primary" class="mb-12">
8585
<div class="frc">
86-
<a href="/authors">Get started</a>
86+
<a href="https://aistudio.google.com">Learn more</a>
8787
</div>
8888
</MaterialButton>
8989
</div>
@@ -97,11 +97,11 @@
9797
JAX
9898
</h2>
9999
<p class="text-lg px-8 pb-8">
100-
JAX is a library for array-oriented numerical computation to enable high-performance machine learning research.
100+
Accelerate numerical code and machine learning with JAX's automatic differentiation and high-performance compilation.
101101
</p>
102102
<MaterialButton type="primary" class="mb-12">
103103
<div class="frc">
104-
<a href="/featured-content">Get started</a>
104+
<a href="https://docs.jax.dev/en/latest/index.html">Learn more</a>
105105
</div>
106106
</MaterialButton>
107107
</div>

app/src/views/Product.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
</div>
6363
</div>
6464
</div>
65-
<img
65+
<img v-if="product.key == mlProductType" src="/img/ai-banner.png" class="product-hero-clipart ai-hero-clipart"/>
66+
<img v-else
6667
src="/img/banners/desktop/product-clipart.png"
6768
class="product-hero-clipart"
6869
/>
@@ -254,6 +255,7 @@ import {
254255
BlogData,
255256
RepoData,
256257
BlogOrRepoDataHolder,
258+
ProductKey,
257259
} from "../../../shared/types";
258260
259261
import UIModule from "@/store/ui";
@@ -337,6 +339,8 @@ export default class Product extends Vue {
337339
this.perPage
338340
);
339341
342+
public mlProductType = ProductKey.ML;
343+
340344
mounted() {
341345
// Loading will be handled by the first "onQueryParamsChanged" firing
342346
// which will happen when the page loads and the default values hit

functions/src/shared/product.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ export const ALL_PRODUCTS: Record<string, ProductConfig> = {
5656
},
5757
ml: {
5858
key: ProductKey.ML,
59-
name: "Machine Learning",
59+
name: "AI Projects",
6060
description:
61-
" Google provides a wide range of Machine Learning technologies and products for developers to use and develop for their projects. These include TensorFlow, TensorFlow.js, TensorFlow Lite, TensorFlow Extended, JAX, Keras and Mediapipe. Dev Library has a curated collection of Machine Learning blogs, open source projects, and tutorials contributed by developers around the world. Explore today for your next project!",
61+
"Unlock AI models to build innovative apps and transform development workflows with tools across platforms.",
6262
docsUrl: "https://www.tensorflow.org/",
6363
tags: [
6464
{

shared/product.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ export const ALL_PRODUCTS: Record<string, ProductConfig> = {
5656
},
5757
ml: {
5858
key: ProductKey.ML,
59-
name: "Machine Learning Projects",
59+
name: "AI Projects",
6060
description:
61-
" Google provides a wide range of technologies and products for developers to use and develop for their machine learning and AI projects. These include TensorFlow, TensorFlow.js, TensorFlow Lite, TensorFlow Extended, JAX, Keras and Mediapipe. Dev Library has a curated collection of Machine Learning and AI blogs, open source projects, and tutorials contributed by developers around the world. Explore today for your next project!",
61+
"Unlock AI models to build innovative apps and transform development workflows with tools across platforms.",
6262
docsUrl: "https://www.tensorflow.org/",
6363
tags: [
6464
{

0 commit comments

Comments
 (0)