diff options
Diffstat (limited to 'docs/zh-TW/README.md')
-rw-r--r-- | docs/zh-TW/README.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/zh-TW/README.md b/docs/zh-TW/README.md index 194c5dbad..2aa0ae603 100644 --- a/docs/zh-TW/README.md +++ b/docs/zh-TW/README.md @@ -25,6 +25,20 @@ metaTitle: "Starship:跨 Shell 提示字元" description: Starship 是適合任何 shell 的最小、極速、高度客製化的提示字元! 顯示你需要的訊息,同時保持順暢與最小化。 有針對 Bash、Fish、ZSH、Ion 、Tcsh、Elvish、Nu、Xonsh、Cmd 與 Powershell 的快速安裝指南。 --- +<script setup> +import { onMounted } from 'vue' + +onMounted(() => { + const urlParams = new URLSearchParams(window.location.search) + if (urlParams.has('uwu') || urlParams.has('kawaii')) { + const img = document.querySelector('.VPHero .VPImage.image-src') + img.classList.add('uwu') + img.src = '/logo-uwu.png' + img.alt = 'Kawaii Starship Logo by @sawaratsuki1004' + } +}) +</script> + <video class="demo-video" muted autoplay loop playsinline> <source src="/demo.webm" type="video/webm"> <source src="/demo.mp4" type="video/mp4"> |