diff --git a/app/app.config.ts b/app/app.config.ts index 01a05bb..f6b10db 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -3,6 +3,9 @@ export default defineAppConfig({ colors: { primary: 'blue', neutral: 'zinc' + }, + container: { + base: 'w-full h-full mx-auto px-2 sm:px-6 lg:px-8' } }, uiPro: { diff --git a/app/components/AppSidebar.vue b/app/components/AppSidebar.vue index 8cfc01d..1b10f25 100644 --- a/app/components/AppSidebar.vue +++ b/app/components/AppSidebar.vue @@ -37,8 +37,8 @@
@@ -68,18 +68,34 @@ /> -
- - - + + + - - + +
diff --git a/app/components/ContentDirectory.vue b/app/components/ContentDirectory.vue index b815f7d..c2d462e 100644 --- a/app/components/ContentDirectory.vue +++ b/app/components/ContentDirectory.vue @@ -1,12 +1,28 @@ diff --git a/app/components/content/ButtonLink.vue b/app/components/content/ButtonLink.vue new file mode 100644 index 0000000..8879c54 --- /dev/null +++ b/app/components/content/ButtonLink.vue @@ -0,0 +1,22 @@ + + + diff --git a/app/components/content/SmartIcon.vue b/app/components/content/SmartIcon.vue new file mode 100644 index 0000000..10b82ab --- /dev/null +++ b/app/components/content/SmartIcon.vue @@ -0,0 +1,38 @@ + + + diff --git a/content/1.简单文档/1.index.md b/content/1.简单文档/1.index.md index b74c700..7a29aa2 100644 --- a/content/1.简单文档/1.index.md +++ b/content/1.简单文档/1.index.md @@ -9,6 +9,31 @@ This template is a ready-to-use documentation template made with [Nuxt UI Pro](h There are already many websites based on this template: +::button-link{right-icon="lucide:arrow-up-right" to="/getting-started" target="_blank"} + Get Started +:: +::button-link{left-icon="lucide:github" variant="outline" to="https://github.com/ZTL-UwU/shadcn-docs-nuxt" target="_blank"} + GitHub +:: +::button-link{left-icon="lucide:ghost" variant="ghost" href="https://github.com/ZTL-UwU/shadcn-docs-nuxt" blank} + Ghost +:: + +::steps{level="4"} + #### Start a fresh new project + + ```bash [Terminal] + npx nuxi init -t github:nuxt-ui-pro/docus + ``` + + #### Run docus CLI to run your dev server + + ```bash [Terminal] + docus dev + ``` +:: + + ::card-group :::card ---