Skip to content

Commit

Permalink
update pack
Browse files Browse the repository at this point in the history
  • Loading branch information
Gzh0821 committed Jan 17, 2025
1 parent 1d3e9fb commit 5f0257c
Show file tree
Hide file tree
Showing 34 changed files with 957 additions and 2,448 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
},
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.19",
"@vuepress/plugin-docsearch": "2.0.0-rc.67",
"@vuepress/plugin-redirect": "2.0.0-rc.66",
"sass": "^1.83.0",
"@vuepress/plugin-docsearch": "2.0.0-rc.73",
"@vuepress/plugin-redirect": "2.0.0-rc.73",
"sass": "^1.83.4",
"vue": "^3.5.13",
"vuepress": "2.0.0-rc.19",
"vuepress-theme-hope": "2.0.0-rc.66"
"vuepress-theme-hope": "2.0.0-rc.70"
},
"dependencies": {
"@vuepress/plugin-watermark": "2.0.0-rc.67",
"@vuepress/plugin-watermark": "2.0.0-rc.73",
"ant-design-vue": "~4.2.6",
"axios": "^1.7.9"
},
"packageManager": "[email protected].0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
"packageManager": "[email protected].4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
}
1,785 changes: 940 additions & 845 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ export default defineUserConfig({
title: "PvZ2 Gardendless Официальный сайт",
description: "«PVZ2 Gardendless» — это полностью переделанная платформенная игра Plants vs. Zombies 2 для ПК.",
},
"/pt-BR/": {
lang: "pt-BR",
title: "Site oficial do PvZ2 Gardendless",
description: "Site oficial de PvZ2 Gardendless. PVZ2 Gardendless é uma versão completa remasterizada e para plataforma de PC de Plants vs. Zombies 2.",
},
"/": {
lang: "zh-CN",
title: "PvZ2 Gardendless 官方网站",
Expand Down
1 change: 0 additions & 1 deletion src/.vuepress/navbar/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from "./en.js";
export * from "./zh.js";
export * from "./ru-RU.js";
export * from "./pt-BR.js";
39 changes: 0 additions & 39 deletions src/.vuepress/navbar/pt-BR.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/.vuepress/sidebar/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from "./en.js";
export * from "./zh.js";
export * from "./ru-RU.js";
export * from "./pt-BR.js";
32 changes: 0 additions & 32 deletions src/.vuepress/sidebar/pt-BR.ts

This file was deleted.

27 changes: 7 additions & 20 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { hopeTheme } from "vuepress-theme-hope";
import { watermarkPlugin } from '@vuepress/plugin-watermark'
import { enNavbar, ruNavbar, zhNavbar, ptNavbar } from "./navbar/index.js";
import { enSidebar, ruSidebar, zhSidebar, ptSidebar } from "./sidebar/index.js";
import { enNavbar, ruNavbar, zhNavbar } from "./navbar/index.js";
import { enSidebar, ruSidebar, zhSidebar } from "./sidebar/index.js";

export default hopeTheme({
hostname: "https://www.pvzge.com",
Expand All @@ -13,9 +13,6 @@ export default hopeTheme({

license: "Apache 2.0",

iconAssets: ["/assets/libs/font-awesome/css/all.min.css"],

iconPrefix: "fas fa-",
favicon: "/favicon.ico",

logo: "pvzg_nav.webp",
Expand Down Expand Up @@ -61,21 +58,6 @@ export default hopeTheme({
editLink: "Редактировать эту страницу на GitHub",
},
},
"/pt-BR/": {
// navbar
navbar: ptNavbar,
navbarTitle: "PvZ2 Gardendless",
// sidebar
sidebar: ptSidebar,

footer: "Official website of PvZ2 Gardendless: pvzge.com",
copyright: "Copyright 2021-2025 <a href=\"https://gaozih.com\">Gaozih</a> © All Rights Reserved | <a href=\"https://pvzge.com/en/instructions/Private.html\">Privacy Policy</a>",
displayFooter: true,

metaLocales: {
editLink: "Editar esta página no GitHub",
},
},
/**
* Chinese locale config
*/
Expand Down Expand Up @@ -195,6 +177,11 @@ export default hopeTheme({
components: ["Badge", "BiliBili", "VPCard", "VidStack"],
},

icon: {
assets: ["/assets/libs/font-awesome/css/all.min.css"],
prefix: "fas fa-",
},

photoSwipe: false,

watermark: {
Expand Down
8 changes: 4 additions & 4 deletions src/en/guide/level/submitlevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ order: 2
---

> [!important]
> By sharing or contributing levels, you agree to the [Player Contribution Agreement](/instructions/Submisson).
> By sharing or contributing levels, you agree to the [Player Contribution Agreement](/en/instructions/Submisson).
>
You can download level files made by community members on the [Community Level](/custom-level/) page. If you have your own levels, you can share them with other players in the following ways:
You can download level files made by community members on the [Community Level](/en/custom-level/) page. If you have your own levels, you can share them with other players in the following ways:

## 1. Discord Server

You can share your level files on the `#custom-level-share` channel of the Discord server. Please follow the server rules.

To join the Discord server, please check the [User Community Page](/contribution/).
To join the Discord server, please check the [User Community Page](/en/contribution/).

## 2. Submit to the Official Level Library

If your level is highly completed, you can submit it to the official level library. You need to have a Github account and be able to use Git tools.

For how to use Git, please refer to the [Official Development Guide](/guide/webGuide). Please note that the official Git repository is different from the level library.
For how to use Git, please refer to the [Official Development Guide](/en/guide/webGuide). Please note that the official Git repository is different from the level library.

The address of the official level library is: [pvzg_level](https://github.com/Gzh0821/pvzg_level).

Expand Down
35 changes: 0 additions & 35 deletions src/pt-BR/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions src/pt-BR/almanac/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions src/pt-BR/almanac/plants.md

This file was deleted.

17 changes: 0 additions & 17 deletions src/pt-BR/almanac/zombies.md

This file was deleted.

50 changes: 0 additions & 50 deletions src/pt-BR/contribution/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions src/pt-BR/contribution/Sponsor.md

This file was deleted.

14 changes: 0 additions & 14 deletions src/pt-BR/contribution/development.md

This file was deleted.

Loading

0 comments on commit 5f0257c

Please sign in to comment.