Skip to content

Commit

Permalink
Update text style
Browse files Browse the repository at this point in the history
  • Loading branch information
rayc2045 committed May 14, 2024
1 parent 212bd15 commit d48aedb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/product-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div id="product-title">
<small
x-text="product.stock === 'in stock' ? (product.label && product.label[0].toUpperCase() + product.label.slice(1)) : product.stock[0].toUpperCase() + product.stock.slice(1)"
class="text-xs font-semibold"
class="text-xs font-bold"
:class="`text-${product.stock === 'in stock' ? 'red' : 'blue'}-500`"
></small>
<a
Expand All @@ -32,7 +32,7 @@
>
<h3
x-text="`${product.name}${product.colors.length > 1 ? ` (${currentColor})` : ''}`"
class="font-semibold"
class="font-bold"
></h3>
</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="text-5xl md:text-6xl">
</p>
<a href="#/shop" :class="btn.light">
Explore the shop&nbsp;
<span x-html="svg('arrow-right')" class="text-semibold"></span>
<span x-html="svg('arrow-right')"></span>
</a>
</section>

Expand Down Expand Up @@ -78,7 +78,7 @@ <h3 class="mb-12 text-xl text-center">New & Noteworthy</h3>
class="size-14 rounded-full overflow-hidden shadow-md"
/>
<div class="grid gap-y-1">
<p class="font-semibold">
<p class="font-bold">
Ray C, founder of <span x-text="BRAND_NAME"></span>
</p>
<p class="text-sm">
Expand All @@ -102,6 +102,6 @@ <h3 class="mb-12 text-xl text-center">Handpicked this Week</h3>

<a href="#/shop" :class="btn.dark" class="w-fit mx-auto">
Explore the shop&nbsp;
<span x-html="svg('arrow-right')" class="text-semibold"></span>
<span x-html="svg('arrow-right')"></span>
</a>
</div>
2 changes: 1 addition & 1 deletion src/pages/shop/shop.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
x-show="!shop.filteredProducts.length"
class="space-y-8 text-gray-500"
>
<h1 class="text-center text-5xl md:text-6xl text-bold">Oops</h1>
<h1 class="text-center text-5xl md:text-6xl font-medium">Oops</h1>
<p class="flex justify-center">
<span x-html="svg('danger')" class="mt-0.5 text-xl"></span>&nbsp;No
products were found matching your selection.
Expand Down

0 comments on commit d48aedb

Please sign in to comment.