mirror of
https://github.com/starship/starship.git
synced 2024-11-07 08:54:50 +01:00
docs: add kawaii logo (#5965)
This commit is contained in:
parent
71d4b8544d
commit
875213ce24
@ -21,6 +21,10 @@
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.VPHero .image img.uwu {
|
||||
max-height: 290px;
|
||||
}
|
||||
|
||||
.VPHero .container .actions {
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
@ -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">
|
||||
|
BIN
docs/public/logo-uwu.png
Normal file
BIN
docs/public/logo-uwu.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 152 KiB |
Loading…
Reference in New Issue
Block a user