diff --git a/docs/app/app.vue b/docs/app/app.vue
index 2bba45200..2493301f5 100644
--- a/docs/app/app.vue
+++ b/docs/app/app.vue
@@ -1,36 +1,15 @@
+
+
+
+
+
+
+
diff --git a/docs/app/composables/nav.ts b/docs/app/composables/nav.ts
new file mode 100644
index 000000000..441173aba
--- /dev/null
+++ b/docs/app/composables/nav.ts
@@ -0,0 +1,19 @@
+import colors from 'tailwindcss/colors'
+
+export const useNavLinks = () => {
+ const route = useRoute()
+
+ return computed(() => [{
+ label: 'Documentation',
+ icon: 'i-lucide-book',
+ to: '/docs/getting-started',
+ active: route.path.startsWith('/docs'),
+ }])
+}
+
+export const useThemeColor = () => {
+ const colorMode = useColorMode()
+ const appConfig = useAppConfig()
+
+ return computed(() => colorMode.value === 'dark' ? colors[appConfig.ui.colors.neutral as keyof typeof colors][900] : 'white')
+}
diff --git a/docs/app/error.vue b/docs/app/error.vue
index 71745e244..b5c85af32 100644
--- a/docs/app/error.vue
+++ b/docs/app/error.vue
@@ -1,28 +1,15 @@
+
-
-
{{ title }}
-
+
+
+
+
```
-
::
- title: Query with [Type-Safety]{class="text-[var(--ui-secondary)]"}
description: Define your content structure with collections and query them with schema validation and full type-safety.
@@ -112,37 +130,47 @@ sections:
- title: Get auto-completion in your Vue files
icon: i-lucide-text-cursor
links:
- - label: Learn more about query
- to: /docs/utils/query-collection
+ - label: Learn more about content collections
+ to: /docs/collections/collections
trailingIcon: i-lucide-arrow-right
color: neutral
variant: subtle
code: |
::code-group
-
```vue [pages/blog.vue]
-
-
{{ doc.title }}
- {{ doc.description }}
- Read post →
+
```
```ts [content.config.ts]
- export default defineContent({
- collections: ['blog'],
- })
+ import { defineCollection, z } from '@nuxt/content'
+
+ export const collections = {
+ blog: defineCollection({
+ source: 'blog/*.md',
+ type: 'page',
+ // Define custom schema for docs collection
+ schema: z.object({
+ tags: z.array(z.string()),
+ image: z.string(),
+ date: z.Date()
+ })
+ })
+ }
```
::
@@ -169,7 +197,7 @@ sections:
- title: Add a git-based CMS to your Nuxt project.
links:
- label: Start reading docs
- to: /docs/getting-started
+ to: /docs/getting-started/installation
trailingIcon: i-lucide-arrow-right
- label: Open Visual Editor
to: https://nuxt.studio
diff --git a/docs/nuxt.config.ts b/docs/nuxt.config.ts
index 76b1b0377..46cde598a 100644
--- a/docs/nuxt.config.ts
+++ b/docs/nuxt.config.ts
@@ -1,9 +1,6 @@
import { defineNuxtConfig } from 'nuxt/config'
-import { createResolver } from '@nuxt/kit'
import pkg from '../package.json'
-const { resolve } = createResolver(import.meta.url)
-
export default defineNuxtConfig({
modules: [
'@nuxt/ui-pro',
diff --git a/docs/public/images/everest.jpg b/docs/public/images/everest.jpg
new file mode 100644
index 000000000..90248a300
Binary files /dev/null and b/docs/public/images/everest.jpg differ