From abc2800b31e772022d9a85c934026c14845dda14 Mon Sep 17 00:00:00 2001 From: estel <690930@qq.com> Date: Mon, 28 Jul 2025 11:09:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 5 ---- app/components/AppHeader.vue | 4 +-- app/components/content/ButtonGroup.vue | 24 ---------------- app/components/content/ECard.vue | 40 ++++++++++++++++++++++++++ app/components/content/FileTree.vue | 6 ++-- app/components/content/ReadMore.vue | 31 ++++++++++++++++++++ content/1.简单文档/1.index.md | 34 ++++++++++++++++------ 7 files changed, 102 insertions(+), 42 deletions(-) delete mode 100644 .env.example delete mode 100644 app/components/content/ButtonGroup.vue create mode 100644 app/components/content/ECard.vue create mode 100644 app/components/content/ReadMore.vue diff --git a/.env.example b/.env.example deleted file mode 100644 index 8f0079c..0000000 --- a/.env.example +++ /dev/null @@ -1,5 +0,0 @@ -# Production license for @nuxt/ui-pro, get one at https://ui.nuxt.com/pro/purchase -NUXT_UI_PRO_LICENSE= - -# Public URL, used for OG Image when running nuxt generate -NUXT_PUBLIC_SITE_URL= diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index 9d8dda3..fe6c9c0 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -48,7 +48,7 @@ const handleLoginRegister = (type: "login" | "register") => { - - - - \ No newline at end of file diff --git a/app/components/content/ECard.vue b/app/components/content/ECard.vue new file mode 100644 index 0000000..f4587c2 --- /dev/null +++ b/app/components/content/ECard.vue @@ -0,0 +1,40 @@ + + + + + + \ No newline at end of file diff --git a/app/components/content/FileTree.vue b/app/components/content/FileTree.vue index 7cefd38..95a6e90 100644 --- a/app/components/content/FileTree.vue +++ b/app/components/content/FileTree.vue @@ -1,11 +1,11 @@ diff --git a/content/1.简单文档/1.index.md b/content/1.简单文档/1.index.md index 6bb23dd..ce9024f 100644 --- a/content/1.简单文档/1.index.md +++ b/content/1.简单文档/1.index.md @@ -5,19 +5,37 @@ navigation: icon: i-lucide-house --- -This template is a ready-to-use documentation template made with [Nuxt UI Pro](https://ui.nuxt.com/pro), a collection of premium components built on top of [Nuxt UI](https://ui.nuxt.com) to create beautiful & responsive Nuxt applications in minutes. +:read-more{to="/getting-started/writing/markdown"} +:read-more{title="Nuxt website" to="https://nuxt.com/" } +:read-more{to="https://nuxt.com/"} +:read-more{icon="lucide:link" title="Nuxt website"} -There are already many websites based on this template: +::ECard +--- +img: https://lijue-me.oss-cn-chengdu.aliyuncs.com/20250727184358217.png +icon: i-simple-icons-tailwindcss +spotlight: true +title: Image Card +description: Beautifully designed **Nuxt Content** template with **shadcn-vue**. _Customizable. Compatible. Open Source._ +--- +#content +wow -::button-link{right-icon="lucide:arrow-up-right" to="/getting-started" target="_blank"} +:: + + +::button-link{icon="lucide:arrow-up-right" variant="outline" to="/getting-started" target="_blank" size="md"} Get Started -:: -::button-link{left-icon="lucide:github" variant="outline" to="https://github.com/ZTL-UwU/shadcn-docs-nuxt" target="_blank"} +:: + +::button-link{trailing-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} +:: + +::button-link{icon="lucide:ghost" variant="ghost" href="https://github.com/ZTL-UwU/shadcn-docs-nuxt" blank} Ghost -:: +:: + ::FileTree ---