Skip to content

Commit 67c0d2c

Browse files
committed
chore: rename UDocs components to UContent
1 parent bfab2f3 commit 67c0d2c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

app.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ provide('navigation', navigation)
4242
<Footer />
4343

4444
<ClientOnly>
45-
<LazyUDocsSearch :files="files" :navigation="navigation" />
45+
<LazyUContentSearch :files="files" :navigation="navigation" />
4646
</ClientOnly>
4747

4848
<UNotifications />

components/Header.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ const { header } = useAppConfig()
1818
</template>
1919

2020
<template v-if="header?.search" #center>
21-
<UDocsSearchButton class="hidden lg:flex" />
21+
<UContentSearchButton class="hidden lg:flex" />
2222
</template>
2323

2424
<template #right>
25-
<UDocsSearchButton v-if="header?.search" :label="null" class="lg:hidden" />
25+
<UContentSearchButton v-if="header?.search" :label="null" class="lg:hidden" />
2626

2727
<UColorModeButton v-if="header?.colorMode" />
2828

error.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ provide('navigation', navigation)
4444
<Footer />
4545

4646
<ClientOnly>
47-
<LazyUDocsSearch :files="files" :navigation="navigation" />
47+
<LazyUContentSearch :files="files" :navigation="navigation" />
4848
</ClientOnly>
4949

5050
<UNotifications />

pages/[...slug].vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,19 @@ const links = computed(() => [toc?.bottom?.edit && {
5252

5353
<hr v-if="surround?.length">
5454

55-
<UDocsSurround :surround="surround" />
55+
<UContentSurround :surround="surround" />
5656
</UPageBody>
5757

5858
<template v-if="page.toc !== false" #right>
59-
<UDocsToc :title="toc?.title" :links="page.body?.toc?.links">
59+
<UContentToc :title="toc?.title" :links="page.body?.toc?.links">
6060
<template v-if="toc?.bottom" #bottom>
6161
<div class="hidden lg:block space-y-6" :class="{ '!mt-6': page.body?.toc?.links?.length }">
6262
<UDivider v-if="page.body?.toc?.links?.length" type="dashed" />
6363

6464
<UPageLinks :title="toc.bottom.title" :links="links" />
6565
</div>
6666
</template>
67-
</UDocsToc>
67+
</UContentToc>
6868
</template>
6969
</UPage>
7070
</template>

0 commit comments

Comments
 (0)