Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CN-ycx committed Apr 26, 2024
1 parent ceb58bb commit 831b171
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 17 deletions.
5 changes: 2 additions & 3 deletions src/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// import { searchProPlugin } from "vuepress-plugin-search-pro";
// import { cut } from "nodejs-jieba";
import { defineUserConfig } from "vuepress";
import theme from './modules/theme.js';
import theme from "./modules/theme.js";

export default {
base: "/",

lang: 'zh-CN',
lang: "zh-CN",
title: "《寒蝉鸣泣之时》系列简体中文汉化补丁官方网站",

/*
Expand Down
4 changes: 2 additions & 2 deletions src/.vuepress/modules/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ export default navbar([
{ text: "资源下载站", icon: "file-arrow-down", link: "https://download.chinalcmod.com/Higurashi" }
]
},
{ text: "关于我们", icon: "circle-info", link: "about" }
]);
{ text: "关于我们", icon: "circle-info", link: "about" },
]);
4 changes: 2 additions & 2 deletions src/.vuepress/modules/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ export default sidebar([
{ text: "资源下载站", icon: "file-arrow-down", link: "https://download.chinalcmod.com/Higurashi" }
]
},
"about"
]);
"about",
]);
18 changes: 9 additions & 9 deletions src/.vuepress/modules/theme.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { hopeTheme } from "vuepress-theme-hope";
import navbar from './navbar.js';
import sidebar from './sidebar.js';
import blog from './blog.js';
import comment from './comment.js';
import navbar from "./navbar.js";
import sidebar from "./sidebar.js";
import blog from "./blog.js";
import comment from "./comment.js";

export default hopeTheme({
navbarLayout: {
Expand Down Expand Up @@ -30,9 +30,9 @@ export default hopeTheme({
email: "[email protected]"
},

repo: 'ycx-Studios/higurashi-docs',
docsDir: 'docs',
docsBranch: 'master',
repo: "ycx-Studios/higurashi-docs",
docsDir: "docs",
docsBranch: "master",

navbar,
sidebar,
Expand Down Expand Up @@ -69,10 +69,10 @@ export default hopeTheme({
/*
locales: {
'/': {
placeholder: '搜索...',
placeholder: "搜索...",
translations: {
button: {
buttonText: '搜索...',
buttonText: "搜索...",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/styles/palette.scss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
$theme-color: #F44336;
$theme-color: #F44336;

0 comments on commit 831b171

Please sign in to comment.