Skip to content

Commit

Permalink
Update font weights and families in AlphaAboutLayout.vue, AlphaPageLa…
Browse files Browse the repository at this point in the history
…yout.vue, and CardLink.vue
  • Loading branch information
nathakits committed Apr 17, 2024
1 parent 1e867ad commit da73a7b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
5 changes: 3 additions & 2 deletions components/AlphaAboutLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
v-if="fm.hero?.tagline"
v-for="tagline in fm.hero?.tagline"
class="text-base text-2 text-padding"
style="color: var(--vp-c-text-1)"
>
{{ tagline }}
</p>
Expand All @@ -113,11 +114,11 @@
<div class="grid grid-cols-1 lg:grid-cols-3 gap-4 items-center">
<div class="order-2 sm:order-1">
<h1
v-if="fm.hero?.title"
v-if="fm.content?.title"
class="text-2xl sm:text-4xl pb-4 md:pb-9 lg:pb-6 font-semibold"
style="color: var(--vp-c-brand-1)"
>
{{ fm.hero.title }}
{{ fm.content.title }}
</h1>
<div
v-if="fm.content?.list"
Expand Down
8 changes: 6 additions & 2 deletions components/AlphaPageLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
color: white;
cursor: pointer;
font-size: 14px;
font-weight: medium;
font-weight: 500;
font-family: Inter, "Helvetica Neue", sans-serif;
}
.category-chip:hover {
Expand All @@ -64,6 +64,10 @@
.text-link-color:hover {
color: var(--vp-c-brand-2);
}
a,
p {
font-family: Inter, "Helvetica Neue", sans-serif;
}
</style>

<template>
Expand All @@ -89,7 +93,7 @@
</p>
<a
href="/alpha-lab/about/"
class="flex items-center gap-2 text-link-color"
class="flex items-center gap-2 text-link-color font-medium text-sm"
>More about Alpha Lab <ArrowIcon
/></a>
</div>
Expand Down
11 changes: 8 additions & 3 deletions components/cards/CardLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<style scoped>
.category-name {
font-size: 14px;
font-weight: medium;
font-weight: 500;
font-family: Inter, "Helvetica Neue", sans-serif;
color: var(--vp-c-text-3);
}
Expand Down Expand Up @@ -55,8 +55,13 @@
<div v-if="product.category" class="category-name">
{{ product.category }}
</div>
<div v-if="product.link" class="flex gap-2 items-center text-sm">
<span v-if="product.link.text">{{ product.link.text }}</span>
<div
v-if="product.link"
class="flex gap-2 items-center text-sm font-medium"
>
<span v-if="product.link.text" class="font-medium">{{
product.link.text
}}</span>
<ArrowIcon />
</div>
</div>
Expand Down

0 comments on commit da73a7b

Please sign in to comment.