diff --git a/docs/.vuepress/navbar.ts b/docs/.vuepress/navbar.ts index b0487066f..a2e2517ba 100644 --- a/docs/.vuepress/navbar.ts +++ b/docs/.vuepress/navbar.ts @@ -4,16 +4,16 @@ import { navbar } from "vuepress-theme-hope"; // https://fontawesome.com/search?m=free&o=r // 专题话题的路径需在尾部添加 /,否则有可能出现链接错误。比如下方「生活」中的 baby/ export default navbar([ - { text: "博客", icon: "fa-solid fa-blog", link: "/blog" }, + { text: "博客", icon: "fa6-solid:blog", link: "/blog" }, { text: "应用", - icon: "fa-solid fa-bars-staggered", + icon: "fa6-solid:bars-staggered", prefix: "/", children: [ "apps/Applist", { text: "常用扩展", - icon: "fa-brands fa-chrome", + icon: "fa6-brands:chrome", link: "apps/Chrome", }, { @@ -23,7 +23,7 @@ export default navbar([ children: [ { text: "专题示例", - icon: "fa-solid fa-dice-d20", + icon: "fa6-solid:dice-d20", link: "apps/topic/", }, ], @@ -32,24 +32,24 @@ export default navbar([ }, { text: "生活", - icon: "fa-solid fa-bed-pulse", + icon: "fa6-solid:bed-pulse", prefix: "/family/", children: ["Diet", "Coupon"], }, { text: "工具", - icon: "fa-solid fa-toolbox", + icon: "fa6-solid:toolbox", children: [ { text: "ChatGPT SC", - icon: "fa-solid fa-bolt", + icon: "fa6-solid:bolt", link: "https://www.aishort.top/", }, - { text: "IMGPrompt", icon: "fa-solid fa-image", link: "https://prompt.newzone.top/" }, - { text: "多语言翻译", icon: "fa-solid fa-language", link: "https://tools.newzone.top/json-translate" }, + { text: "IMGPrompt", icon: "fa6-solid:image", link: "https://prompt.newzone.top/" }, + { text: "多语言翻译", icon: "fa6-solid:language", link: "https://tools.newzone.top/json-translate" }, { text: "工具收藏", - icon: "fa-solid fa-bars", + icon: "fa6-solid:bars", link: "https://nav.newzone.top/", }, ], diff --git a/docs/.vuepress/sidebar.ts b/docs/.vuepress/sidebar.ts index 95a7920c9..5257a8b8e 100644 --- a/docs/.vuepress/sidebar.ts +++ b/docs/.vuepress/sidebar.ts @@ -7,7 +7,7 @@ export default sidebar({ "/DailyRoutine", "/Fitness", // 读书笔记架构更换到 docsify,不能使用相对链接 - { text: "读书笔记", icon: "fa-brands fa-readme", link: "https://newzone.top/reading/" }, + { text: "读书笔记", icon: "fa6-brands:readme", link: "https://newzone.top/reading/" }, // 指定显示页面 { text: "🧰 应用手册", @@ -20,7 +20,7 @@ export default sidebar({ "toolbox.md", { text: "其他", - icon: "fa-solid fa-code-compare", + icon: "fa6-solid:code-compare", collapsible: true, children: ["design.md"], }, @@ -46,7 +46,7 @@ export default sidebar({ "VPS.md", { text: "部署工具", - icon: "fa-brands fa-windows", + icon: "fa6-brands:windows", collapsible: true, children: ["GitHub.md", "Cloudflare.md", "MySQL.md", "DNS.md"], }, @@ -61,13 +61,13 @@ export default sidebar({ "README.md", { text: "Basic", - icon: "fa-solid fa-cube", + icon: "fa6-solid:cube", collapsible: true, children: ["Markdown.md", "Electron.md", "AutoHotkey.md", "Regex.md"], }, { text: "FrondEnd", - icon: "fa-solid fa-object-group", + icon: "fa6-solid:object-group", collapsible: true, children: ["Vue.md", "HTML.md", "Javascript.md", "Python.md"], }, @@ -82,7 +82,7 @@ export default sidebar({ }, { text: "博客文章", - icon: "fa-solid fa-feather-pointed", + icon: "fa6-solid:feather-pointed", prefix: "/_posts/", link: "/blog", collapsible: true, diff --git a/docs/.vuepress/theme.ts b/docs/.vuepress/theme.ts index ca38c57da..b58e8a5ee 100644 --- a/docs/.vuepress/theme.ts +++ b/docs/.vuepress/theme.ts @@ -5,8 +5,9 @@ import sidebar from "./sidebar.js"; export default hopeTheme({ // 主题选项:https://theme-hope.vuejs.press/zh/config/theme/layout.html hostname: "https://newzone.top", - // 建议替换为自建 CDN,否则部分浏览器可能无法正确显示图标。2024.07 开始,uBlock Origin 将拦截公有 CDN 的 js 请求。 - iconAssets: ["https://cdn.staticfile.net/font-awesome/6.5.2/js/all.min.js"], + // 公用 CDN 在部分浏览器中可能无法正确显示图标。2024.07 开始,uBlock Origin 将拦截公有 CDN 的 js 请求。 + // https://icon-sets.iconify.design/ + iconAssets: "iconify", author: { name: "LearnData", url: "https://newzone.top", diff --git a/docs/DailyRoutine.md b/docs/DailyRoutine.md index ac47a0ccd..5acc809c8 100644 --- a/docs/DailyRoutine.md +++ b/docs/DailyRoutine.md @@ -1,7 +1,7 @@ --- article: false title: 每日仪式 -icon: fa-solid fa-check-to-slot +icon: fa6-solid:check-to-slot --- 每日仪式是个人生活习惯的核心。它看起来可能会显得固化、死板、功利,有人反馈「透露着一股形式主义气息」,但是,这正是我想要的:**遵循一个固定、程序化的流程,有规律地养成习惯**,实现自我提升。 diff --git a/docs/Fitness.md b/docs/Fitness.md index a22aa04a7..b23b9042a 100644 --- a/docs/Fitness.md +++ b/docs/Fitness.md @@ -1,7 +1,7 @@ --- article: false title: 健身计划 -icon: fa-solid fa-dumbbell +icon: fa6-solid:dumbbell --- 早餐必吃,午餐吃饱,晚餐少吃且不吃主食。 diff --git a/docs/README.md b/docs/README.md index 203e0cd00..e7eb04d01 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,7 +1,7 @@ --- article: false title: LearnData 开源笔记 -icon: fa-solid fa-book-open-reader +icon: fa6-solid:book-open-reader --- > 开源工具、效率方法、心理学探索的自我提升笔记 diff --git a/docs/apps/Applist.md b/docs/apps/Applist.md index 3b82c8622..5027c323d 100644 --- a/docs/apps/Applist.md +++ b/docs/apps/Applist.md @@ -1,7 +1,7 @@ --- article: false title: 必备应用 -icon: fa-solid fa-list +icon: fa6-solid:list order: 1 --- diff --git a/docs/apps/Chrome.md b/docs/apps/Chrome.md index a9f971caf..285a0aac6 100644 --- a/docs/apps/Chrome.md +++ b/docs/apps/Chrome.md @@ -1,7 +1,7 @@ --- article: false title: Chrome 扩展 -icon: fa-brands fa-chrome +icon: fa6-brands:chrome order: 3 --- diff --git a/docs/apps/design.md b/docs/apps/design.md index 7860444ea..6533c80fb 100644 --- a/docs/apps/design.md +++ b/docs/apps/design.md @@ -1,7 +1,7 @@ --- article: false title: 平面设计 -icon: fa-solid fa-image +icon: fa6-solid:image order: 90 --- diff --git a/docs/apps/toolbox.md b/docs/apps/toolbox.md index a6faeda18..90dd18595 100644 --- a/docs/apps/toolbox.md +++ b/docs/apps/toolbox.md @@ -1,7 +1,7 @@ --- article: false title: 开源工具 -icon: fa-solid fa-land-mine-on +icon: fa6-solid:land-mine-on order: 2 --- diff --git a/docs/apps/topic/README.md b/docs/apps/topic/README.md index 51233a25c..218387768 100644 --- a/docs/apps/topic/README.md +++ b/docs/apps/topic/README.md @@ -2,7 +2,7 @@ article: false index: false title: 专题示例 -icon: fa-solid fa-icons +icon: fa6-solid:icons --- 如果想形成专题文章,并想使用独立侧边栏,则参考本目录使用专题文章。 diff --git a/docs/blog.md b/docs/blog.md index 4f9041d59..3bc33bf09 100644 --- a/docs/blog.md +++ b/docs/blog.md @@ -2,7 +2,7 @@ #博客首页设置:https://theme-hope.vuejs.press/zh/guide/blog/home.html home: true layout: BlogHome -icon: fa-solid fa-house-crack +icon: fa6-solid:house-crack title: 互联网小白 #heroImage: /logo.svg heroText: 互联网小白 diff --git a/docs/code/AutoHotkey.md b/docs/code/AutoHotkey.md index d3d56e7fb..ccbc6f463 100644 --- a/docs/code/AutoHotkey.md +++ b/docs/code/AutoHotkey.md @@ -1,7 +1,7 @@ --- article: false title: AutoHotkey -icon: fa-brands fa-autoprefixer +icon: fa6-brands:autoprefixer order: 4 --- diff --git a/docs/code/Electron.md b/docs/code/Electron.md index eed1f73cb..ad7110004 100644 --- a/docs/code/Electron.md +++ b/docs/code/Electron.md @@ -1,7 +1,7 @@ --- article: false title: Electron -icon: fa-solid fa-atom +icon: fa6-solid:atom order: 7 --- diff --git a/docs/code/HTML.md b/docs/code/HTML.md index 6852d9936..f8a034dca 100644 --- a/docs/code/HTML.md +++ b/docs/code/HTML.md @@ -1,7 +1,7 @@ --- article: false title: HTML -icon: fa-brands fa-html5 +icon: fa6-brands:html5 order: 1 --- diff --git a/docs/code/Javascript.md b/docs/code/Javascript.md index 8e6fc3095..94a484667 100644 --- a/docs/code/Javascript.md +++ b/docs/code/Javascript.md @@ -1,7 +1,7 @@ --- article: false title: JavaScript -icon: fa-brands fa-js +icon: fa6-brands:js order: 2 --- diff --git a/docs/code/Markdown.md b/docs/code/Markdown.md index d000c9f9b..bf95b9092 100644 --- a/docs/code/Markdown.md +++ b/docs/code/Markdown.md @@ -1,7 +1,7 @@ --- article: false title: Markdown -icon: fa-brands fa-markdown +icon: fa6-brands:markdown order: 5 --- diff --git a/docs/code/Python.md b/docs/code/Python.md index fc73325f5..b687ed7ca 100644 --- a/docs/code/Python.md +++ b/docs/code/Python.md @@ -1,7 +1,7 @@ --- article: false title: Python -icon: fa-brands fa-python +icon: fa6-brands:python order: 3 --- diff --git a/docs/code/README.md b/docs/code/README.md index bd8820478..264ff79d4 100644 --- a/docs/code/README.md +++ b/docs/code/README.md @@ -1,7 +1,7 @@ --- article: false title: Coding -icon: fa-solid fa-code +icon: fa6-solid:code --- ## 编程学习路径 diff --git a/docs/code/Regex.md b/docs/code/Regex.md index 43671d38b..3b4fa3a57 100644 --- a/docs/code/Regex.md +++ b/docs/code/Regex.md @@ -1,7 +1,7 @@ --- article: false title: 正则表达式 -icon: fa-solid fa-repeat +icon: fa6-solid:repeat order: 6 --- diff --git a/docs/code/Vue.md b/docs/code/Vue.md index 592ead3ba..002cb92e1 100644 --- a/docs/code/Vue.md +++ b/docs/code/Vue.md @@ -1,7 +1,7 @@ --- article: false title: Vue -icon: fa-brands fa-vuejs +icon: fa6-brands:vuejs order: 2 --- diff --git a/docs/deploy/CloudServices.md b/docs/deploy/CloudServices.md index fcc0877f8..ff0da2fd8 100644 --- a/docs/deploy/CloudServices.md +++ b/docs/deploy/CloudServices.md @@ -1,7 +1,7 @@ --- article: false title: 云计算服务 -icon: fa-solid fa-cloud-arrow-up +icon: fa6-solid:cloud-arrow-up order: 2 --- diff --git a/docs/deploy/Cloudflare.md b/docs/deploy/Cloudflare.md index efc3ff17a..c57f4b861 100644 --- a/docs/deploy/Cloudflare.md +++ b/docs/deploy/Cloudflare.md @@ -1,7 +1,7 @@ --- article: false title: Cloudflare -icon: fa-brands fa-cloudflare +icon: fa6-brands:cloudflare order: 5 --- diff --git a/docs/deploy/DNS.md b/docs/deploy/DNS.md index 8aba5f965..653d4bf51 100644 --- a/docs/deploy/DNS.md +++ b/docs/deploy/DNS.md @@ -1,7 +1,7 @@ --- article: false title: 域名 DNS 托管 -icon: fa-solid fa-sitemap +icon: fa6-solid:sitemap order: 6 --- diff --git a/docs/deploy/GitHub.md b/docs/deploy/GitHub.md index 9e15cf2a3..6d58304bc 100644 --- a/docs/deploy/GitHub.md +++ b/docs/deploy/GitHub.md @@ -1,7 +1,7 @@ --- article: false title: GitHub -icon: fa-brands fa-github +icon: fa6-brands:github order: 4 --- diff --git a/docs/deploy/MySQL.md b/docs/deploy/MySQL.md index f8e7ba4da..f4e164861 100644 --- a/docs/deploy/MySQL.md +++ b/docs/deploy/MySQL.md @@ -1,7 +1,7 @@ --- article: false title: 数据库管理 -icon: fa-solid fa-database +icon: fa6-solid:database order: 3 --- diff --git a/docs/deploy/Static.md b/docs/deploy/Static.md index 4ad23a560..2db9f4fca 100644 --- a/docs/deploy/Static.md +++ b/docs/deploy/Static.md @@ -1,7 +1,7 @@ --- article: false title: 静态部署 -icon: fa-solid fa-circle-nodes +icon: fa6-solid:circle-nodes order: 1 --- diff --git a/docs/deploy/VPS.md b/docs/deploy/VPS.md index 6558dedcc..71785a9df 100644 --- a/docs/deploy/VPS.md +++ b/docs/deploy/VPS.md @@ -1,7 +1,7 @@ --- article: false title: 服务器 VPS -icon: fa-brands fa-ioxhost +icon: fa6-brands:ioxhost order: 3 --- diff --git a/docs/family/Coupon.md b/docs/family/Coupon.md index 5a02a67b3..9ccb3e2f7 100644 --- a/docs/family/Coupon.md +++ b/docs/family/Coupon.md @@ -1,7 +1,7 @@ --- article: false title: 网购攻略 -icon: fa-solid fa-cart-shopping +icon: fa6-solid:cart-shopping order: 3 --- diff --git a/docs/family/Diet.md b/docs/family/Diet.md index e76f98a6a..8fc98f168 100644 --- a/docs/family/Diet.md +++ b/docs/family/Diet.md @@ -1,7 +1,7 @@ --- article: false title: 健康饮食 -icon: fa-solid fa-wheat-awn-circle-exclamation +icon: fa6-solid:wheat-awn-circle-exclamation order: 1 --- diff --git a/docs/family/Life.md b/docs/family/Life.md index 5ba244df8..2407da4b1 100644 --- a/docs/family/Life.md +++ b/docs/family/Life.md @@ -1,7 +1,7 @@ --- article: false title: 生活窍门 -icon: fa-solid fa-star-of-life +icon: fa6-solid:star-of-life order: 6 --- diff --git a/docs/intro.md b/docs/intro.md index 7150c37da..5729f22ac 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -1,7 +1,7 @@ --- article: false title: 个人介绍 -icon: fa-solid fa-circle-nodes +icon: fa6-solid:circle-nodes --- 互联网广告人, diff --git a/docs/web/Comments.md b/docs/web/Comments.md index 0687fb18a..0f9cee1a4 100644 --- a/docs/web/Comments.md +++ b/docs/web/Comments.md @@ -1,7 +1,7 @@ --- article: false title: 评论插件 -icon: fa-solid fa-comment-dots +icon: fa6-solid:comment-dots order: 3 --- diff --git a/docs/web/VuePress.md b/docs/web/VuePress.md index f249fd547..28f371af0 100644 --- a/docs/web/VuePress.md +++ b/docs/web/VuePress.md @@ -1,7 +1,7 @@ --- article: false title: VuePress -icon: fa-brands fa-vuejs +icon: fa6-brands:vuejs order: 1 --- diff --git a/docs/web/docsify.md b/docs/web/docsify.md index 7ed7bc9f9..5bfc0e567 100644 --- a/docs/web/docsify.md +++ b/docs/web/docsify.md @@ -1,7 +1,7 @@ --- article: false title: docsify -icon: fa-solid fa-edit +icon: simple-icons:docsify order: 2 ---