diff --git a/app.config.ts b/app.config.ts new file mode 100644 index 00000000..7401fde9 --- /dev/null +++ b/app.config.ts @@ -0,0 +1,45 @@ +export default defineAppConfig({ + shadcnDocs: { + header: { + title: 'shadcn-docs', + showTitle: true, + logo: { + light: '/logo.svg', + dark: '/logo-dark.svg', + }, + darkModeToggle: true, + links: [{ + icon: 'lucide:github', + to: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt', + target: '_blank', + }], + }, + aside: { + useLevel: true, + collapse: false, + }, + main: { + breadCrumb: true, + showTitle: true, + }, + footer: { + credits: 'Copyright © 2024', + links: [ + { + title: 'shadcn-vue', + to: 'https://www.shadcn-vue.com/', + target: '_blank', + }, + { + icon: 'lucide:github', + to: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt', + target: '_blank', + }, + ], + }, + toc: { + enable: true, + title: 'On This Page', + }, + }, +}); diff --git a/components/DarkModeToggle.vue b/components/DarkModeToggle.vue index 2d884162..5fdc8091 100644 --- a/components/DarkModeToggle.vue +++ b/components/DarkModeToggle.vue @@ -1,7 +1,7 @@ diff --git a/components/layout/Aside.vue b/components/layout/Aside.vue index ec89ae6b..03f56d71 100644 --- a/components/layout/Aside.vue +++ b/components/layout/Aside.vue @@ -1,6 +1,6 @@