Skip to content

Commit

Permalink
更整洁的文件结构 更新依赖等
Browse files Browse the repository at this point in the history
  • Loading branch information
Wulian233 committed May 19, 2024
1 parent d17f885 commit 81666d1
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 27 deletions.
16 changes: 8 additions & 8 deletions .vitepress/config/tw.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const tw = defineConfig({
},

editLink: {
pattern: 'https://github.com/Wulian233/vmct-website-beta//edit/main/:path',
pattern: 'https://github.com/Wulian233/vmct-website-beta/edit/main/:path',
text: '在 GitHub 上編輯此頁面'
},

Expand Down Expand Up @@ -90,9 +90,9 @@ function sidebarModpacks(){
return [
{ text: '返回首頁', base: '/', link: 'tw' },
{ text: '地圖翻譯', base: '/', link: 'tw/map' },
{ text: '地圖翻譯準則', base: '/', link: 'tw/rule' },
{ text: '地圖翻譯準則', base: '/', link: 'tw/others/rule' },
{ text: '雙十一事變', base: '/', link: 'what' },
{ text: '使用條款', base: '/', link: 'tw/terms' },
{ text: '使用條款', base: '/', link: 'tw/others/terms' },
{
text: '模組包翻譯',
collapsed: false,
Expand All @@ -108,10 +108,10 @@ function sidebarModpacks(){
{ text: '破曉之界', link: 'dawn' },
{ text: 'The Decursio Project Expert', link: 'decursio' },
{ text: '幻想領域', link: 'fantasy' },
{ text: '命運時代', link: 'fate' },
{ text: '飼養奇異點生存', link: 'feed' },
{ text: '冰雪之域', link: 'frozenopolis' },
{ text: '無限協會', link: 'if' },
{ text: '地狱起源', link: 'infernal' },
{ text: '噴氣背包貓', link: 'jetpack' },
{ text: '永恆的MC', link: 'mce' },
{ text: '中世纪的MC 1.19 Fabric', link: 'mmc' },
Expand All @@ -135,9 +135,9 @@ function sidebarMap(){
return [
{ text: '返回首頁', base: '/', link: 'tw' },
{ text: '模組包翻譯', base: '/', link: 'modpacks' },
{ text: '地圖翻譯準則', base: '/', link: 'tw/rule' },
{ text: '地圖翻譯準則', base: '/', link: 'tw/others/rule' },
{ text: '雙十一事變', base: '/', link: 'what' },
{ text: '使用條款', base: '/', link: 'tw/terms' },
{ text: '使用條款', base: '/', link: 'tw/others/terms' },
{
text: '地圖翻譯',
collapsed: false,
Expand All @@ -158,8 +158,8 @@ function sidebar(){
{ text: '返回首頁', base: '/', link: 'tw' },
{ text: '模組包翻譯', base: '/', link: 'modpacks' },
{ text: '地圖翻譯', base: '/', link: 'tw/map' },
{ text: '地圖翻譯準則', base: '/', link: 'tw/rule' },
{ text: '地圖翻譯準則', base: '/', link: 'tw/others/rule' },
{ text: '雙十一事變', base: '/', link: 'what' },
{ text: '使用條款', base: '/', link: 'tw/terms' },
{ text: '使用條款', base: '/', link: 'tw/others/terms' },
]
}
22 changes: 11 additions & 11 deletions .vitepress/config/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const zh = defineConfig({
},

editLink: {
pattern: 'https://github.com/Wulian233/vmct-website-beta//edit/main/:path',
pattern: 'https://github.com/Wulian233/vmct-website-beta/edit/main/:path',
text: '在 GitHub 上编辑此页面'
},

Expand Down Expand Up @@ -102,9 +102,9 @@ function sidebarModpacks(){
return [
{ text: '返回首页', base: '/', link: 'index' },
{ text: '地图汉化', base: '/', link: 'map' },
{ text: '地图汉化准则', base: '/', link: 'rule' },
{ text: '双十一事变', base: '/', link: 'what' },
{ text: '使用条款', base: '/', link: 'terms' },
{ text: '地图汉化准则', base: '/', link: 'others/rule' },
{ text: '双十一事变', base: '/', link: 'others/what' },
{ text: '使用条款', base: '/', link: 'others/terms' },
{
text: '整合包汉化',
collapsed: false,
Expand All @@ -120,10 +120,10 @@ function sidebarModpacks(){
{ text: '破晓之界', link: 'dawn' },
{ text: 'The Decursio Project Expert', link: 'decursio' },
{ text: '幻想领域', link: 'fantasy' },
{ text: '命运时代', link: 'fate' },
{ text: '喂养奇点生存', link: 'feed' },
{ text: '冰雪之域', link: 'frozenopolis' },
{ text: '无限协会', link: 'if' },
{ text: '地狱起源', link: 'infernal' },
{ text: '喷气背包猫', link: 'jetpack' },
{ text: '永恒的MC', link: 'mce' },
{ text: '中世纪的MC 1.19 Fabric', link: 'mmc' },
Expand All @@ -147,9 +147,9 @@ function sidebarMap(){
return [
{ text: '返回首页', base: '/', link: 'index' },
{ text: '整合包汉化', base: '/', link: 'modpacks' },
{ text: '地图汉化准则', base: '/', link: 'rule' },
{ text: '双十一事变', base: '/', link: 'what' },
{ text: '使用条款', base: '/', link: 'terms' },
{ text: '地图汉化准则', base: '/', link: 'others/rule' },
{ text: '双十一事变', base: '/', link: 'others/what' },
{ text: '使用条款', base: '/', link: 'others/terms' },
{
text: '地图汉化',
collapsed: false,
Expand All @@ -170,8 +170,8 @@ function sidebar(){
{ text: '返回首页', base: '/', link: 'index' },
{ text: '整合包汉化', base: '/', link: 'modpacks' },
{ text: '地图汉化', base: '/', link: 'map' },
{ text: '地图汉化准则', base: '/', link: 'rule' },
{ text: '双十一事变', base: '/', link: 'what' },
{ text: '使用条款', base: '/', link: 'terms' },
{ text: '地图汉化准则', base: '/', link: 'others/rule' },
{ text: '双十一事变', base: '/', link: 'others/what' },
{ text: '使用条款', base: '/', link: 'others/terms' },
]
}
2 changes: 1 addition & 1 deletion .vitepress/theme/components/BannerComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ watchEffect(() => {
<div ref="el" class="banner">
<div class="text">
VM汉化组网站 v3 版正在制作测试中,发现任何问题请在<a
href="https://github.com/Wulian233/vmct-website-beta//issues" target="_blank" rel="noopener noreferrer">Github汇报</a>。
href="https://github.com/Wulian233/vmct-website-beta/issues/new" target="_blank" rel="noopener noreferrer">Github汇报</a>。
</div>
</div>
</template>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion doing.md → others/doing.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
import ButtonComponent from './.vitepress/theme/components/ButtonComponent.vue'
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>
# 正在汉化中

Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion terms.md → others/terms.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# VM汉化组汉化补丁使用条款

最后修订:2024年4月19日
Expand Down
2 changes: 1 addition & 1 deletion what.md → others/what.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
import ButtonComponent from './.vitepress/theme/components/ButtonComponent.vue'
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 双十一事变
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"@vueuse/core": "^10.9.0",
"vitepress": "^1.1.4",
"vue": "^3.4.25"
"vitepress": "^1.2.0",
"vue": "^3.4.27"
}
}
4 changes: 2 additions & 2 deletions tw/doing.md → tw/others/doing.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
import ButtonComponent from '../../.vitepress/theme/components/ButtonComponent.vue'
</script>
# 正在翻譯中

Expand All @@ -11,5 +11,5 @@ import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
好吧,既然你來了,為什麼不看看我們的首頁呢? 我們的其他翻譯作品也非常優質。

<div style="display: flex;">
<ButtonComponent link="/">返回我們的首頁</ButtonComponent>
<ButtonComponent link="/tw/">返回我們的首頁</ButtonComponent>
</div>
File renamed without changes.
File renamed without changes.

0 comments on commit 81666d1

Please sign in to comment.