Skip to content

Commit 07a7d7a

Browse files
authored
Updates homepage styling (#820)
* Updates homepage styling * Updates ml related copy to "ai" * Update GoogleDevelopers-lockup.svg * Update ml.png * Removes obsolete pages and copy * Updates no project message * Change jax to gemma card
1 parent 1aa1847 commit 07a7d7a

File tree

16 files changed

+216
-145
lines changed

16 files changed

+216
-145
lines changed

app/public/img/ai-banner.png

66.3 KB
Loading

app/public/img/ai-studio-icon.png

10.7 KB
Loading

app/public/img/gemini-icon.png

14.6 KB
Loading

app/public/img/gemma-logo.png

16.4 KB
Loading

app/public/logos/ml.png

-8.25 KB
Loading

app/src/assets/GoogleDevelopers-lockup.svg

Lines changed: 32 additions & 42 deletions
Loading

app/src/assets/css/tailwind.css

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,37 @@
213213
width: 24px;
214214
}
215215

216-
.value-prop-cards {
216+
.dev-tools-cards {
217217
background: #f1f3f4;
218218
}
219219

220+
.dev-tools-cards .card,
221+
.value-prop-cards .card {
222+
justify-content: flex-start;
223+
}
224+
225+
.dev-tools-cards .card button,
226+
.value-prop-cards .card button {
227+
margin-block: auto 16px;
228+
}
229+
230+
.section-inner {
231+
max-width: 1488px;
232+
margin: 0 auto;
233+
}
234+
235+
.dev-tools-image img {
236+
height: 96px;
237+
width: auto;
238+
margin-block: 16px 24px;
239+
}
240+
220241
.value-prop-image {
221242
margin-bottom: 33px;
222243
}
223244

224245
.value-prop-image img {
225-
width: 200px;
246+
width: 80px;
226247
}
227248

228249
.value-prop-cards button {
@@ -264,8 +285,12 @@
264285
font-weight: 500;
265286
}
266287

288+
.no-projects-link {
289+
color: rgb(26, 115, 232);
290+
}
291+
267292
@screen lg {
268-
.homepage-header h1,
293+
.homepage-header h1,
269294
.full-bleed-header-image h1 {
270295
font-size: 44px;
271296
line-height: 52px;
@@ -300,7 +325,7 @@
300325
}
301326

302327
.repo-item {
303-
border-radius: 4px;
328+
border-radius: 4px;
304329
padding: 4px 6px;
305330
}
306331

@@ -323,10 +348,15 @@
323348
top: 44px;
324349
}
325350

351+
.ai-hero-clipart {
352+
width: 308px;
353+
top: 0;
354+
}
355+
326356
.impact-number {
327357
font-size: 64px;
328358
}
329-
359+
330360
.impact-text {
331361
font-size: 20px;
332362
}

app/src/components/NavBar.vue

Lines changed: 1 addition & 9 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
>
@@ -140,7 +132,7 @@
140132
type="primary"
141133
v-if="!showSideMenu"
142134
>
143-
Submit your content
135+
Submit your AI project
144136
</MaterialButton>
145137
</transition>
146138
</div>

app/src/components/SubmitDialog.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default class SubmitDialog extends Vue {
5454
5555
mounted() {
5656
EVENT_BUS.$on(NAME_SHOW_SUBMIT_DIALOG, () => {
57-
this.show = true;
57+
this.goToForm()
5858
});
5959
}
6060
@@ -66,7 +66,7 @@ export default class SubmitDialog extends Vue {
6666
this.show = false;
6767
conversionEvent("submit");
6868
window.open(
69-
"https://devlibrary.advocu.com/home/applications/form",
69+
"https://forms.gle/S61NStowwwTjVrHT7",
7070
"_blank"
7171
);
7272
}

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",

0 commit comments

Comments
 (0)