Skip to content

Commit 3296f47

Browse files
committed
Removes obsolete pages and copy
1 parent af82c3e commit 3296f47

File tree

8 files changed

+7
-22
lines changed

8 files changed

+7
-22
lines changed

app/src/components/NavBar.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@
5959
<span class="header">Authors</span>
6060
</router-link>
6161

62-
<router-link to="/featured-content" class="section">
63-
<span class="header">Featured Content</span>
64-
</router-link>
65-
6662
<router-link to="/about" class="section">
6763
<span class="header">About</span>
6864
</router-link>
@@ -123,10 +119,6 @@
123119
><span>Authors</span></router-link
124120
>
125121

126-
<router-link class="block nav-item nav-item-link" to="/featured-content"
127-
><span class="header">Featured Content</span>
128-
</router-link>
129-
130122
<router-link class="block nav-item nav-item-link" to="/about"
131123
><span>About</span></router-link
132124
>

app/src/router/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import Vue from "vue";
1818
import VueRouter, { RouteConfig } from "vue-router";
1919
import Home from "../views/Home.vue";
20-
import FeaturedContent from "../views/FeaturedContent.vue";
2120
import About from "../views/About.vue";
2221
import ContentPolicy from "../views/ContentPolicy.vue";
2322
import Product from "../views/Product.vue";
@@ -50,11 +49,6 @@ const routes: Array<RouteConfig> = [
5049
name: "RepoPage",
5150
component: Repo,
5251
},
53-
{
54-
path: "/featured-content",
55-
name: "Featured Content",
56-
component: FeaturedContent,
57-
},
5852
{
5953
path: "/authors",
6054
name: "Authors",

app/src/views/About.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
</div>
140140
<div v-show="FaqData[3]" class="pb-2 border-b">
141141
<p class="mt-4">
142-
<a target="_blank" href="https://devlibrary.withgoogle.com/featured-content"> Check out</a> our Featured Content page to stay up to date with the latest projects added to the platform. This page features some of the best submissions from each product every month. Also, you can check out the <a href="https://developers.googleblog.com/search/label/Google%20Dev%20Library">Dev Library blog archives</a> for past highlights.
142+
<a target="_blank" href="https://devlibrary.withgoogle.com/products/ml"> Check out</a> our AI products page to stay up to date with the latest projects added to the platform. Also, you can check out the <a href="https://developers.googleblog.com/search/label/Google%20Dev%20Library">Dev Library blog archives</a> for past highlights.
143143
</p>
144144
</div>
145145
<p class="mt-6 font-bold">Contributing to Dev Library</p>
@@ -161,7 +161,6 @@
161161
<ol class="ml-6 mt-2 list-disc">
162162
<li>Their own author profile page</li>
163163
<li>A shiny contributor badge for their Google Developer profile</li>
164-
<li>Spotlights in the Dev Library Featured Content page</li>
165164
<li>Inspiring developers to build with Google!</li>
166165
</ol>
167166
</p>

app/src/views/Home.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<div>
3333
<!-- Right-padding added on mobile to improve text flow -->
3434
<p class="text-xl mt-9 mb-4 pr-4 lg:pr-0">
35-
Dev Library highlights Google-curated open source dev projects. Submissions are open for projects using Google AI tools and technologies until April 30, 2025.
35+
Dev Library highlights Google-curated open source dev projects. Submissions are open for projects using Google AI tools and technologies until <b>April 30, 2025</b>.
3636
</p>
3737
<div class="mt-4 lg:mt-6">
3838
<MaterialButton
@@ -161,7 +161,7 @@
161161
</p>
162162
<MaterialButton type="secondary" class="mb-12">
163163
<div class="frc">
164-
<a href="/featured-content">Learn more</a>
164+
<a href="/products/ml">Learn more</a>
165165
</div>
166166
</MaterialButton>
167167
</div>

app/src/views/Product.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
</div>
5454

5555
<p class="mt-2">{{ product.description }}</p>
56-
<a :href="product.docsUrl" target="blank">
56+
<a v-if="product.docsUrl.length > 0" :href="product.docsUrl" target="blank">
5757
<MaterialButton type="secondary" class="mt-8">
5858
Official docs
5959
<font-awesome-icon icon="external-link-alt" class="ml-1" />

app/src/views/Repo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
>All Projects</router-link
104104
>
105105
</li>
106-
<li>
106+
<li v-if="product.docsUrl.length > 0">
107107
<a :href="product.docsUrl" target="_blank">Official Docs</a>
108108
</li>
109109
</ul>

functions/src/shared/product.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const ALL_PRODUCTS: Record<string, ProductConfig> = {
5959
name: "AI Projects",
6060
description:
6161
"Unlock AI models to build innovative apps and transform development workflows with tools across platforms.",
62-
docsUrl: "https://www.tensorflow.org/",
62+
docsUrl: "",
6363
tags: [
6464
{
6565
label: "Mobile",

shared/product.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const ALL_PRODUCTS: Record<string, ProductConfig> = {
5959
name: "AI Projects",
6060
description:
6161
"Unlock AI models to build innovative apps and transform development workflows with tools across platforms.",
62-
docsUrl: "https://www.tensorflow.org/",
62+
docsUrl: "",
6363
tags: [
6464
{
6565
label: "Mobile",

0 commit comments

Comments
 (0)