docs: display pro like on other places

This commit is contained in:
Sébastien Chopin
2025-02-21 16:20:40 +01:00
parent 7f1cf5c71f
commit a74273124d
2 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ const communityLinks = computed(() => [{
</template>
<template #title>
{{ page.title }}<sup v-if="page.module === 'ui-pro'" class="text-xs align-super font-medium text-(--ui-primary)">PRO</sup>
{{ page.title }}<sup v-if="page.module === 'ui-pro'" class="ml-1 text-xs align-super font-medium text-(--ui-primary)">PRO</sup>
</template>
<template #description>

View File

@@ -131,9 +131,9 @@ const categories = [{
:ui="{ wrapper: 'order-last', container: 'lg:flex' }"
>
<template #title>
<div class="flex items-center gap-1.5">
<div class="flex items-center gap-0.5">
<span>{{ component.title }}</span>
<UBadge v-if="component.module === 'ui-pro'" label="PRO" size="sm" variant="subtle" />
<sup v-if="component.module === 'ui-pro'" class="text-[8px] font-medium text-(--ui-primary)">PRO</sup>
</div>
</template>