docs: add kawaii logo (#5965)

This commit is contained in:
Matan Kushner
2024-05-07 08:55:39 +09:00
committed by GitHub
parent 71d4b8544d
commit 875213ce24
3 changed files with 18 additions and 0 deletions
+4
View File
@@ -21,6 +21,10 @@
transform: none;
}
.VPHero .image img.uwu {
max-height: 290px;
}
.VPHero .container .actions {
justify-content: center !important;
}
+14
View File
@@ -22,6 +22,20 @@ metaTitle: "Starship: Cross-Shell Prompt"
description: Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and 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">
Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB