Skip to content

Commit

Permalink
update custom and official level
Browse files Browse the repository at this point in the history
  • Loading branch information
Gzh0821 committed Dec 7, 2024
1 parent 3f76aca commit 0e13cb6
Show file tree
Hide file tree
Showing 13 changed files with 118 additions and 36 deletions.
1 change: 1 addition & 0 deletions src/.vuepress/navbar/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const ptNavbar = navbar([
"/pt-BR/download/",
"/pt-BR/almanac/",
"/pt-BR/guide/",
"/pt-BR/custom-level/",
"/pt-BR/instructions/",
"/pt-BR/contribution/",
{ text: "Jogo online", link: "https://play.pvzge.com", icon: "circle-play" },
Expand Down
1 change: 1 addition & 0 deletions src/.vuepress/sidebar/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const enSidebar = sidebar({
"/en/download/": "structure",
"/en/instructions/": "structure",
"/en/guide/": "structure",
"/en/custom-level/": "structure",
"/en/contribution/": "structure",
"/en/almanac/": "structure",
"/en/": [
Expand Down
1 change: 1 addition & 0 deletions src/.vuepress/sidebar/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const ptSidebar = sidebar({
"/pt-BR/download/": "structure",
"/pt-BR/instructions/": "structure",
"/pt-BR/guide/": "structure",
"/pt-BR/custom-level/": "structure",
"/pt-BR/contribution/": "structure",
"/pt-BR/almanac/": "structure",
"/pt-BR/": [
Expand Down
1 change: 1 addition & 0 deletions src/.vuepress/sidebar/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const zhSidebar = sidebar({
"/download/": "structure",
"/instructions/": "structure",
"/guide/": "structure",
"/custom-level/": "structure",
"/contribution/": "structure",
"/devtool/": "structure",
"/almanac/": "structure",
Expand Down
18 changes: 6 additions & 12 deletions src/custom-level/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
---
title: 自定义关卡
index: false
index: true
order: 1
icon: feather
pageInfo: false
breadcrumb: false
sidebar: false
comment: false
---

<script setup>
import LevelList from '@source/components/level-list/App.vue';
import { provide } from 'vue';
provide("i18nLanguage",'zh-CN');
</script>

> [!info]
> 本页面为自定义关卡列表,点击卡片即可下载关卡文件,在游戏设置内点击`Play Local Level`导入即可游玩。若列表为空,请等待或尝试刷新页面。
> 在自定义关卡列表中,点击条目标题即可下载关卡文件,在游戏设置内点击`Play Local Level`导入即可游玩。若列表为空,请等待或尝试刷新页面。
>
> 编写自定义关卡的教程见[自定义关卡指南](/guide/level/)
> 官方关卡为制作组成员编写的关卡,包含示例关卡文件。社区关卡内包含了 Discord 和其它社区成员制作的关卡文件。
> 编写自定义关卡的教程见[自定义关卡指南](/guide/level/)
<LevelList authorGroup = "official"/>
<Catalog />
16 changes: 16 additions & 0 deletions src/custom-level/community-level.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: 社区关卡
index: true
order: 3
icon: feather-pointed
pageInfo: false
comment: false
---

<script setup>
import LevelList from '@source/components/level-list/App.vue';
import { provide } from 'vue';
provide("i18nLanguage",'zh-CN');
</script>

<LevelList authorGroup = "custom"/>
16 changes: 16 additions & 0 deletions src/custom-level/official-level.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: 官方关卡
index: true
order: 2
icon: pen-fancy
pageInfo: false
comment: false
---

<script setup>
import LevelList from '@source/components/level-list/App.vue';
import { provide } from 'vue';
provide("i18nLanguage",'zh-CN');
</script>

<LevelList authorGroup = "official"/>
18 changes: 6 additions & 12 deletions src/en/custom-level/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
---
title: Custom Level
index: false
index: true
order: 1
icon: feather
pageInfo: false
breadcrumb: false
sidebar: false
comment: false
---

<script setup>
import LevelList from '@source/components/level-list/App.vue';
import { provide } from 'vue';
provide("i18nLanguage",'en');
</script>

> [!info]
> This page is a list of custom levels. Click on the card to download the level file. Click `Play Local Level` in the game settings to import it and play. If the list is empty, please wait or try to refresh the page.
> In the custom level list, click the entry title to download the level file, and click `Play Local Level` in the game settings to import it and play. If the list is empty, please wait or try to refresh the page.
>
> For tutorials on writing custom levels, see [Custom Level Guide](/en/guide/level/)
> The official levels is for levels written by the production team members, including sample level files. The community levels contains level files made by Discord and other community members.
> For tutorials on writing custom levels, see [Custom Level Guide](/guide/level/).
<LevelList authorGroup = "official"/>
<Catalog />
16 changes: 16 additions & 0 deletions src/en/custom-level/community-level.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Community Level
index: true
order: 3
icon: feather-pointed
pageInfo: false
comment: false
---

<script setup>
import LevelList from '@source/components/level-list/App.vue';
import { provide } from 'vue';
provide("i18nLanguage",'en');
</script>

<LevelList authorGroup = "custom"/>
16 changes: 16 additions & 0 deletions src/en/custom-level/official-level.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Official Level
index: true
order: 2
icon: pen-fancy
pageInfo: false
comment: false
---

<script setup>
import LevelList from '@source/components/level-list/App.vue';
import { provide } from 'vue';
provide("i18nLanguage",'en');
</script>

<LevelList authorGroup = "official"/>
18 changes: 6 additions & 12 deletions src/pt-BR/custom-level/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
---
title: Custom Level
index: false
index: true
order: 1
icon: feather
pageInfo: false
breadcrumb: false
sidebar: false
comment: false
---

<script setup>
import LevelList from '@source/components/level-list/App.vue';
import { provide } from 'vue';
provide("i18nLanguage",'pt-BR');
</script>

> [!info]
> This page is a list of custom levels. Click on the card to download the level file. Click `Play Local Level` in the game settings to import it and play. If the list is empty, please wait or try to refresh the page.
> In the custom level list, click the entry title to download the level file, and click `Play Local Level` in the game settings to import it and play. If the list is empty, please wait or try to refresh the page.
>
> For tutorials on writing custom levels, see [Custom Level Guide](/en/guide/level/)
> The official levels is for levels written by the production team members, including sample level files. The community levels contains level files made by Discord and other community members.
> For tutorials on writing custom levels, see [Custom Level Guide](/guide/level/).
<LevelList authorGroup = "official"/>
<Catalog />
16 changes: 16 additions & 0 deletions src/pt-BR/custom-level/community-level.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Community Level
index: true
order: 3
icon: feather-pointed
pageInfo: false
comment: false
---

<script setup>
import LevelList from '@source/components/level-list/App.vue';
import { provide } from 'vue';
provide("i18nLanguage",'pt-BR');
</script>

<LevelList authorGroup = "custom"/>
16 changes: 16 additions & 0 deletions src/pt-BR/custom-level/official-level.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Official Level
index: true
order: 2
icon: pen-fancy
pageInfo: false
comment: false
---

<script setup>
import LevelList from '@source/components/level-list/App.vue';
import { provide } from 'vue';
provide("i18nLanguage",'pt-BR');
</script>

<LevelList authorGroup = "official"/>

0 comments on commit 0e13cb6

Please sign in to comment.