Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihuaiwen committed Jan 25, 2024
1 parent c713062 commit 81d65c1
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 43 deletions.
59 changes: 17 additions & 42 deletions docs/.vuepress/navbar.ts
Original file line number Diff line number Diff line change
@@ -1,45 +1,20 @@
import { navbar } from "vuepress-theme-hope";
import {navbar} from "vuepress-theme-hope";

export default navbar([
{ text: "Java", icon: "java", link: "/index" },
{ text: "数据库", icon: "database", link: "/database/" },
{ text: "技术书籍", icon: "book", link: "/books/" },
// {
// text: "程序人生",
// icon: "article",
// link: "/high-quality-technical-articles/",
// },
// {
// text: "知识星球",
// icon: "planet",
// children: [
// {
// text: "星球介绍",
// icon: "about",
// link: "/about-the-author/zhishixingqiu-two-years.md",
// },
// {
// text: "星球专属优质专栏",
// icon: "about",
// link: "/zhuanlan/",
// },
// {
// text: "星球优质主题汇总",
// icon: "star",
// link: "https://www.yuque.com/Zephery/rpkqw1/ncxpnfmlng08wlf1",
// },
// ],
// },
{
text: "网站相关",
icon: "about",
children: [
{ text: "关于作者", icon: "zuozhe", link: "/about-the-author/" },
{
text: "更新历史",
icon: "history",
link: "/timeline/",
},
],
},
{text: "Java", icon: "java", link: "/index"},
{text: "数据库", icon: "database", link: "/database/"},
{text: "技术书籍", icon: "book", link: "/books/"},
{
text: "网站相关",
icon: "about",
children: [
{text: "关于作者", icon: "zuozhe", link: "/about-the-author/"},
{
text: "更新历史",
icon: "history",
link: "/timeline/",
},
],
},
{text: "捐赠", icon: "donate", link: "/donate/"},
]);
1 change: 1 addition & 0 deletions docs/.vuepress/public/ads.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google.com, pub-9037099208128116, DIRECT, f08c47fec0942fa0
9 changes: 9 additions & 0 deletions docs/.vuepress/sidebar/donate.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { arraySidebar } from "vuepress-theme-hope";

export const donate = arraySidebar([
{
text: "捐赠",
link: "donate",
icon: "donate",
},
]);
2 changes: 2 additions & 0 deletions docs/.vuepress/sidebar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import {aboutTheAuthor} from "./about-the-author.js";
import {books} from "./books.js";
import {highQualityTechnicalArticles} from "./high-quality-technical-articles.js";
import {database} from "./database.js";
import {donate} from "./donate.js";

export default sidebar({
// 应该把更精确的路径放置在前边
"/database/": database,
"/books/": books,
"/donate/": donate,
"/about-the-author/": aboutTheAuthor,
"/high-quality-technical-articles/": highQualityTechnicalArticles,
"/zhuanlan/": [
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default hopeTheme({
},
blog: true,
copyright: {
author: "JavaZephery(wenzhihuai.com)",
author: "wenzhihuai.com",
license: "MIT",
triggerLength: 100,
maxLength: 700,
Expand Down
Binary file added docs/donate/.img/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/donate/.img/img_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/donate/donate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 捐赠

![微信支付](.img/img_1.png)

0 comments on commit 81d65c1

Please sign in to comment.