docs(components): add page (#3365)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Sébastien Chopin
2025-02-21 12:15:42 +01:00
committed by GitHub
parent e8c786885b
commit 0a8f49275e
263 changed files with 333 additions and 321 deletions

View File

@@ -116,11 +116,15 @@ const communityLinks = computed(() => [{
<template>
<UPage v-if="page">
<UPageHeader :title="page.title">
<UPageHeader>
<template #headline>
<UBreadcrumb :items="breadcrumb" />
</template>
<template #title>
{{ page.title }}<sup v-if="page.module === 'ui-pro'" class="text-xs align-super font-medium text-(--ui-primary)">PRO</sup>
</template>
<template #description>
<MDC v-if="page.description" :value="page.description" unwrap="p" />
</template>