Skip to content

Commit

Permalink
🔍 Update product page title DOM
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraHuang22 authored and williamchong committed Dec 13, 2024
1 parent 0f21708 commit 3fa0aae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/NFTBook/ItemCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@
class="text-like-cyan"
:text="$t('campaign_nft_book_just_arrived')"
/>
<Label preset="h3" :class="titleStyle" :text="NFTName" />
<h1
:class="['text-[24px]', 'font-600', titleStyle]"
v-text="NFTName"
/>
<p :class="['text-14', 'whitespace-pre-line', descriptionStyle]">
{{ bookDescriptionTrimmed }}
</p>
Expand Down
5 changes: 4 additions & 1 deletion src/components/NFTCollection/ItemCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@
class="text-like-collection"
:text="$t('nft_collection_label')"
/>
<Label preset="h3" :class="titleStyle" :text="collectionName" />
<h1
:class="['text-[24px]', 'font-600', titleStyle]"
v-text="collectionName"
/>
<Markdown :md-string="collectionDescription" />
<NFTBookSpecTable class="mt-[12px]">
<client-only>
Expand Down

0 comments on commit 3fa0aae

Please sign in to comment.