Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 0 additions & 78 deletions docs-v3/components/TheHeader.vue

This file was deleted.

53 changes: 0 additions & 53 deletions docs-v3/components/TheSidebar.vue

This file was deleted.

7 changes: 0 additions & 7 deletions docs-v3/components/TheTableOfContents.vue

This file was deleted.

7 changes: 1 addition & 6 deletions docs-v3/components/docs/CopyPageDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@
</button>

<template #item-label="{ item }">
<div class="flex flex-col text-left">
<span class="text-sm font-medium text-gray-900 dark:text-white">{{ item.label }}</span>
<span v-if="item.description" class="text-xs text-gray-500 dark:text-gray-400">
{{ item.description }}
</span>
</div>
<span class="text-sm font-medium text-gray-900 dark:text-white">{{ item.label }}</span>
</template>
</UDropdownMenu>
</div>
Expand Down
7 changes: 6 additions & 1 deletion docs-v3/components/website/WebsiteNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@

<!-- Desktop search with label (docs only) -->
<div v-if="isDocsPage" class="hidden lg:block">
<UContentSearchButton label="Search..." :collapsed="false" />
<UContentSearchButton
label="Search documentation…"
:kbds="['meta', 'K']"
:collapsed="false"
class="w-64 justify-start text-gray-500 dark:text-gray-400"
/>
</div>

<a
Expand Down
37 changes: 0 additions & 37 deletions docs-v3/layouts/default.vue

This file was deleted.

63 changes: 0 additions & 63 deletions docs-v3/pages/[...slug].vue

This file was deleted.

13 changes: 6 additions & 7 deletions docs-v3/pages/docs/[...slug].vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<template>
<NuxtLayout name="docs">
<div v-if="post">
<article>
<header class="mb-8">
<header class="mb-8">
<div class="flex flex-col-reverse sm:flex-row sm:items-start sm:justify-between gap-4">
<h1 class="text-4xl font-bold text-gray-900 dark:text-white mb-4">
{{ post.title }}
</h1>
</header>

<div class="prose-docs">
<ContentRenderer :value="post" />
<DocsCopyPageDropdown class="shrink-0 sm:mt-2" />
</div>
</article>
</header>

<ContentRenderer :value="post" />
</div>

<div v-else>
Expand Down