Skip to content

Commit

Permalink
按钮全局组件
Browse files Browse the repository at this point in the history
  • Loading branch information
Wulian233 committed May 26, 2024
1 parent 81666d1 commit c29f57f
Show file tree
Hide file tree
Showing 29 changed files with 14 additions and 120 deletions.
6 changes: 5 additions & 1 deletion .vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import DefaultTheme from 'vitepress/theme'
import { h } from 'vue'
import BannerComponent from './components/BannerComponent.vue'
import ButtonComponent from './components/ButtonComponent.vue'

export default {
...DefaultTheme,
extends: DefaultTheme,
enhanceApp({ app }) {
app.component('ButtonComponent', ButtonComponent)
},
Layout() {
return h(DefaultTheme.Layout, null, {
'layout-top': () => h(BannerComponent),
Expand Down
4 changes: 0 additions & 4 deletions map/bayville.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 贝维尔小镇汉化下载
<div style="display: flex">
<img src="https://s11.ax1x.com/2024/02/25/pFa182V.jpg" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions map/deathrunner.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 死亡竞速2汉化下载
<div style="display: flex">
<img src="https://static.planetminecraft.com/files/image/minecraft/project/2023/121/17394690-screenshot_l.webp" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions map/divinity.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 神界陨落汉化下载
<div style="display: flex">
<img src="https://s11.ax1x.com/2024/02/25/pFalbNR.jpg" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions map/final.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 最终悖论汉化下载
<div style="display: flex">
<img src="https://s11.ax1x.com/2024/02/25/pFa1mDg.jpg" style="width:50%" alt="图片1">
Expand Down
10 changes: 3 additions & 7 deletions map/rc4.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 狂乱之境4汉化下载
<div style="display: flex">
<img src="https://s21.ax1x.com/2024/04/21/pkpVQeg.jpg" style="width:50%" alt="图片1">
Expand All @@ -20,9 +16,9 @@ import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'

这张大型的半开放世界CTM地图提供了超过50小时的游戏时间。与独特攻击的定制怪物搏斗,打造强大的物品,并深入至暗深渊以获取16颗水晶。

<div style="display: flex;">
<ButtonComponent link="https://www.123pan.com/s/99kKVv-zYVQh.html">下载汉化</ButtonComponent>
<ButtonComponent buttonClass='button2' link="https://www.mediafire.com/folder/jurnv77qvvaf0">备用下载</ButtonComponent>
<div style="display: flex;">
<ButtonComponent link="https://www.123pan.com/s/99kKVv-zYVQh.html">下载汉化</ButtonComponent>
<ButtonComponent buttonClass='button2' link="https://www.mediafire.com/folder/jurnv77qvvaf0">备用下载</ButtonComponent>
</div>

### 注意事项
Expand Down
4 changes: 0 additions & 4 deletions map/wyr.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# Would You Rather汉化下载
<div style="display: flex">
<img src="https://static.planetminecraft.com/files/image/minecraft/project/2020/801/13791217_l.webp" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/arcanum.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# FTB奥术学院汉化下载
血魔法手册汉化由繁体中文转换为简体中文,由于两岸名词叫法有所不同,部分用词较为别扭,请见谅

Expand Down
4 changes: 0 additions & 4 deletions modpacks/bee.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 蜜蜂空岛2汉化下载
<div style="display: flex">
<img src="https://s21.ax1x.com/2024/05/04/pkAVmV0.jpg" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/black.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 黑石世界汉化下载
<div style="display: flex">
<img src="https://media.forgecdn.net/attachments/469/841/ultimate.png" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/bliss.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# Bliss汉化下载
<div style="display: flex">
<img src="https://media.forgecdn.net/attachments/465/302/2022-05-28_22.png" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/cottage.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 春晓之巫汉化下载
<div style="display: flex">
<img src="https://media.forgecdn.net/attachments/507/514/2022-10-18_16.png" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/dawn.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 破晓之界汉化下载
<div style="display: flex">
<img src="https://media.forgecdn.net/attachments/634/417/fire-giant.png" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/decursio.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# The Decursio Project Expert汉化下载
<div style="display: flex">
<img src="https://s21.ax1x.com/2024/05/12/pke0BCt.png" style="width:50%" alt="图片1">
Expand Down
4 changes: 1 addition & 3 deletions modpacks/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue';

</script>

# xxx汉化下载
</script># xxx汉化下载
<div style="display: flex">
<img src="" style="width:50%" alt="图片1">
<img src="" style="width:50%" alt="图片2">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/paradise2.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# FTB建筑师天堂2汉化下载
<div style="display: flex">
<img src="https://s21.ax1x.com/2024/04/27/pkPqfFU.md.png" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/prey.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# Prey汉化下载
<div style="display: flex">
<img src="https://media.forgecdn.net/attachments/759/888/2023-11-15_22.png" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/sb3.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# FTB石头世界3汉化下载

<div style="display: flex">
Expand Down
4 changes: 0 additions & 4 deletions modpacks/star.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 星辰工厂汉化下载
<div style="display: flex">
<img src="https://s21.ax1x.com/2024/05/04/pkAVNa6.jpg" style="width:50%" alt="图片1">
Expand Down
3 changes: 0 additions & 3 deletions others/doing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>
# 正在汉化中

> [!TIP] 提示
Expand Down
16 changes: 3 additions & 13 deletions others/what.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 双十一事变
## VM汉化组发生了什么?

Expand All @@ -20,9 +16,7 @@ import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'

<div style="display: flex;">
<ButtonComponent link="/">返回官网主页</ButtonComponent>
</div>

# 秉笔直书
</div># 秉笔直书

这篇记录于2024年2月重新修订,我(捂脸)受限于当时(2023年11月)的外界因素影响,并没有将这次事件完整、清晰、准确的记录下来。回望历史,曾有崔杼弑君,秉笔直书的模范。我决定重新将这次转折点的标志性事件公正、完整的记录。聊天内容图片来自汉化组内群,部分聊天内容由于截断有节选,但未到断章取义的程度。鉴于这次事件发生于11月11日,我们不妨后文称为“**双十一事变**”。

Expand All @@ -31,9 +25,7 @@ import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
<img src="https://s11.ax1x.com/2024/02/19/pFY8QtP.jpg" style="width:50%" alt="图片2">
</div>

首先,我们来看看bilibili汉化组官号的动态公告。

# 公告
首先,我们来看看bilibili汉化组官号的动态公告。# 公告
::: details 已折叠,点击查看
亲爱的玩家们:

Expand All @@ -48,9 +40,7 @@ import ButtonComponent from '../.vitepress/theme/components/ButtonComponent.vue'
VM汉化组创始人和前组长曲逸

2023年11月11日
:::

# 为什么会这样?
:::# 为什么会这样?
首先,我(捂脸)需要清楚地说明,所有事情的发生都不是偶然的,而是矛盾的日积月累,最后才爆发。

启初,玩家Annijiang向曲逸反馈了整合包任务的翻译错误和错别字问题。随后,sine在群内发送了一张截图,原图如下。
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"type": "module",
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build"
"build": "vitepress build --minify"
},
"dependencies": {
"@vueuse/core": "^10.9.0",
"vitepress": "^1.2.0",
"vitepress": "^1.2.2",
"vue": "^3.4.27"
}
}
4 changes: 0 additions & 4 deletions tw/map/bayville.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 貝維爾小鎮翻譯下載
<div style="display: flex">
<img src="https://s11.ax1x.com/2024/02/25/pFa182V.jpg" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions tw/map/deathrunner.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 死亡競速2翻譯下載
<div style="display: flex">
<img src="https://static.planetminecraft.com/files/image/minecraft/project/2023/121/17394690-screenshot_l.webp" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions tw/map/divinity.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 神界隕落翻譯下載
<div style="display: flex">
<img src="https://s11.ax1x.com/2024/02/25/pFalbNR.jpg" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions tw/map/final.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 最終悖論翻譯下載
<div style="display: flex">
<img src="https://s11.ax1x.com/2024/02/25/pFa1mDg.jpg" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions tw/map/rc4.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../../.vitepress/theme/components/ButtonComponent.vue'
</script>

# 狂亂之境4翻譯下載
<div style="display: flex">
<img src="https://s21.ax1x.com/2024/04/21/pkpVQeg.jpg" style="width:50%" alt="图片1">
Expand Down
4 changes: 0 additions & 4 deletions tw/map/wyr.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script setup>
import ButtonComponent from '../../.vitepress/theme/components/ButtonComponent.vue'
</script>

# Would You Rather翻譯下載
<div style="display: flex">
<img src="https://static.planetminecraft.com/files/image/minecraft/project/2020/801/13791217_l.webp" style="width:50%" alt="图片1">
Expand Down
3 changes: 0 additions & 3 deletions tw/others/doing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<script setup>
import ButtonComponent from '../../.vitepress/theme/components/ButtonComponent.vue'
</script>
# 正在翻譯中

> [!TIP] 提示
Expand Down

0 comments on commit c29f57f

Please sign in to comment.