From c512a52af2eb7cefc3f911e5e68b5d55d9cf057c Mon Sep 17 00:00:00 2001 From: 01Petard <1520394133@qq.com> Date: Tue, 17 Dec 2024 21:50:24 +0800 Subject: [PATCH] =?UTF-8?q?BIG-feat:=20=E5=B0=86config.js=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=94=B9=E4=B8=BAts=E6=A0=BC=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E2=80=9C=E4=B8=BB=E9=A1=B5=E2=80=9D?= =?UTF-8?q?=E5=92=8C=E2=80=9C=E5=85=B3=E4=BA=8E=E6=88=91=E2=80=9D=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=A4=A7=E9=87=8F=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/{config.js => config.mts} | 8 ++- docs/about.md | 77 +++++++++++++++++------ docs/index.md | 24 +++++-- 3 files changed, 82 insertions(+), 27 deletions(-) rename docs/.vitepress/{config.js => config.mts} (99%) diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.mts similarity index 99% rename from docs/.vitepress/config.js rename to docs/.vitepress/config.mts index fc86c08..0c410b7 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.mts @@ -1,6 +1,8 @@ // .vitepress/config.js +import { defineConfig } from 'vitepress'; + const base = "/blog-vue-vitepress/"; -export default { +export default defineConfig({ base, lang: 'zh-cn', title: "代码港湾", @@ -18,7 +20,7 @@ export default { }, // 修改侧边栏导航的标题 outline: { - level: [1, 2, 3, 4], + level: [1, 2], label: "目录导航" }, // 文档页脚的文字 @@ -287,4 +289,4 @@ export default { {icon: 'github', link: 'https://github.com/01Petard'} ], } -}; +}); diff --git a/docs/about.md b/docs/about.md index ce80b6e..0987875 100644 --- a/docs/about.md +++ b/docs/about.md @@ -5,32 +5,73 @@ type: "about" comments: false --- -
-

- I wish you to become your own sun , no need to rely on who’s light. -

-

- —— 愿你成为自己的太阳,无需凭借谁的光芒。 -

-
+ + + +
+

+ Wish you to become your own sun, no need to rely on who’s light. +

+

+ —— 愿你成为自己的太阳,无需凭借谁的光芒。 +

+
## 👲 基本信息 ```yaml -Name: 伪音花火 / 01Petard -Address: Zhejiang, Hangzhou -Github: https://github.com/01Petard -Blog: https://01petard.github.io/blog-vue-vitepress/ -Blog(Legacy): https://01petard.github.io/ -Hobbies: Bangumis, Doujin, Surfing Online, Digital Devices +👤 Name: 伪音花火 / 01Petard +🏠 Address: Zhejiang, Hangzhou +📮 Email: 1520394133@qq.com +🐱 Github: https://github.com/01Petard +💻 Blog: https://01petard.github.io/blog-vue-vitepress/ +💻 Blog(Legacy): https://01petard.github.io/ +❤️ Hobbies: Bangumis, Doujin, Surfing Online, Digital Devices ``` ## 🔨 技术栈 -- 后端学习的还挺多的,但感觉自己还是个菜鸟(Java要死了,那我转Go?) -- 暴学前端,目前Vue3基本入门了,自我感觉良好(学多了感觉JavaScript也看顺眼了) -- 还了解一点Python,懂点Flask框架,会运用简单的AI模型(语法还行,主要是语法糖的问题) -- 懂点开发板相关的硬件,对硬件开发了解不多,但是热衷于捣鼓软路由、NAS相关的东西 +- 后端学习的还挺多的,感觉自己可以自己行了👍(Java要死了,那我转Go?) +- 暴学前端,目前Vue3基本ok了,自我感觉良好(学多了感觉JavaScript也看顺眼了) +- 了解 a little of Python,懂点Flask框架,会运用简单的AI模型(对 Ollama 这玩意儿比较看好) +- 懂点开发板相关的硬件,对硬件开发了解不多,但是热衷于捣鼓“软路由”、“NAS”相关的东西 - …… ## 💘 关于本站 diff --git a/docs/index.md b/docs/index.md index 8db964e..5d98c25 100644 --- a/docs/index.md +++ b/docs/index.md @@ -34,23 +34,35 @@ features: - title: 光速构建,无限知识 details: 如闪电般的加载速度,快速访问到丰富的知识宝库。多端设备都能享受流畅的阅读体验。 icon: - src: /public/闪电.png + src: /闪电.png - title: 简约不简单,高效传播智慧 details: 功能直观,轻松创建专业的博客和文档。专注于内容创作,快速发布高质量的文章。 icon: - src: /public/安全高效.png + src: /安全高效.png - title: 代码与文字的交响,编织未来 details: 完美展示了前端工具链的最佳实践,从HMR到TS支持,每一个特性都是为了提升文档开发体验。 icon: - src: /public/拥抱未来.png + src: /拥抱未来.png ---