mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-31 20:28:09 +01:00
docs(OgImageDocs): handle when no description provided
This commit is contained in:
@@ -56,7 +56,7 @@ defineProps({
|
|||||||
<h1 class="m-0 text-[75px] font-semibold mb-2 text-white flex items-center">
|
<h1 class="m-0 text-[75px] font-semibold mb-2 text-white flex items-center">
|
||||||
<span>{{ title }}</span>
|
<span>{{ title }}</span>
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-[32px] text-[#94a3b8] leading-tight">
|
<p v-if="description" class="text-[32px] text-[#94a3b8] leading-tight">
|
||||||
{{ description.slice(0, 200) }}
|
{{ description.slice(0, 200) }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user