Skip to content

Commit 5fdbbc9

Browse files
committed
update site
1 parent 6352303 commit 5fdbbc9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+245
-1333
lines changed

src/.vuepress/config.ts

+13-7
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,21 @@ export default defineUserConfig({
55
base: "/",
66

77
locales: {
8+
// "/": {
9+
// lang: "en-US",
10+
// title: "Docs Demo",
11+
// description: "A docs demo for vuepress-theme-hope",
12+
// },
13+
// "/zh/": {
14+
// lang: "zh-CN",
15+
// title: "文档演示",
16+
// description: "vuepress-theme-hope 的文档演示",
17+
// },
18+
819
"/": {
9-
lang: "en-US",
10-
title: "Docs Demo",
11-
description: "A docs demo for vuepress-theme-hope",
12-
},
13-
"/zh/": {
1420
lang: "zh-CN",
15-
title: "文档演示",
16-
description: "vuepress-theme-hope 的文档演示",
21+
title: "HackOrg",
22+
description: "一个关于黑客技术的开源非营利组织",
1723
},
1824
},
1925

src/.vuepress/navbar/en.ts

+26-26
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
import { navbar } from "vuepress-theme-hope";
22

33
export const enNavbar = navbar([
4-
"/",
5-
"/demo/",
6-
{
7-
text: "Guide",
8-
icon: "lightbulb",
9-
prefix: "/guide/",
10-
children: [
11-
{
12-
text: "Bar",
13-
icon: "lightbulb",
14-
prefix: "bar/",
15-
children: ["baz", { text: "...", icon: "ellipsis", link: "#" }],
16-
},
17-
{
18-
text: "Foo",
19-
icon: "lightbulb",
20-
prefix: "foo/",
21-
children: ["ray", { text: "...", icon: "ellipsis", link: "#" }],
22-
},
23-
],
24-
},
25-
{
26-
text: "V2 Docs",
27-
icon: "book",
28-
link: "https://theme-hope.vuejs.press/",
29-
},
4+
// "/",
5+
// "/demo/",
6+
// {
7+
// text: "指导",
8+
// icon: "lightbulb",
9+
// prefix: "/guide/",
10+
// children: [
11+
// {
12+
// text: "Bar",
13+
// icon: "lightbulb",
14+
// prefix: "bar/",
15+
// children: ["baz", { text: "...", icon: "ellipsis", link: "#" }],
16+
// },
17+
// {
18+
// text: "Foo",
19+
// icon: "lightbulb",
20+
// prefix: "foo/",
21+
// children: ["ray", { text: "...", icon: "ellipsis", link: "#" }],
22+
// },
23+
// ],
24+
// },
25+
// {
26+
// text: "V2 文档",
27+
// icon: "book",
28+
// link: "https://theme-hope.vuejs.press/",
29+
// },
3030
]);
Loading
Loading
Binary file not shown.
Loading
-4.62 KB
Binary file not shown.
-12.9 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
444 Bytes
Loading
Loading
15 KB
Binary file not shown.
-3.57 KB
Binary file not shown.

src/.vuepress/public/favicon.ico

-51 KB
Binary file not shown.

src/.vuepress/public/logo.png

-92 KB
Binary file not shown.

src/.vuepress/public/logo.svg

-1
This file was deleted.

src/.vuepress/styles/palette.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
// you can change colors here
2-
$theme-color: #096dd9;
2+
// $theme-color: #096dd9;
3+
$theme-color: #ef5a9d;

src/.vuepress/theme.ts

+13-9
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,22 @@ import { enNavbar, zhNavbar } from "./navbar/index.js";
33
import { enSidebar, zhSidebar } from "./sidebar/index.js";
44

55
export default hopeTheme({
6-
hostname: "https://vuepress-theme-hope-docs-demo.netlify.app",
6+
7+
// pure mode
8+
pure: true,
9+
10+
hostname: "https://hackorg.com",
711

812
author: {
9-
name: "Mr.Hope",
10-
url: "https://mister-hope.com",
13+
name: "GoogTech",
14+
url: "https://goog.tech",
1115
},
1216

1317
iconAssets: "fontawesome-with-brands",
1418

15-
logo: "https://theme-hope-assets.vuejs.press/logo.svg",
19+
logo: "https://hackorg.com/thehackorg.org.profile.png",
1620

17-
repo: "vuepress-theme-hope/vuepress-theme-hope",
21+
repo: "TheHackOrg/TheHackOrg.github.io",
1822

1923
docsDir: "src",
2024

@@ -26,12 +30,12 @@ export default hopeTheme({
2630
// sidebar
2731
sidebar: enSidebar,
2832

29-
footer: "Default footer",
33+
footer: "",
3034

3135
displayFooter: true,
3236

3337
metaLocales: {
34-
editLink: "Edit this page on GitHub",
38+
editLink: "GitHub 上编辑此页",
3539
},
3640
},
3741

@@ -58,8 +62,8 @@ export default hopeTheme({
5862

5963
encrypt: {
6064
config: {
61-
"/demo/encrypt.html": ["1234"],
62-
"/zh/demo/encrypt.html": ["1234"],
65+
"/demo/encrypt.html": ["hackorg.com"],
66+
"/zh/demo/encrypt.html": ["hackorg.com"],
6367
},
6468
},
6569

0 commit comments

Comments
 (0)