summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2024-05-07 08:55:39 +0900
committerGitHub <noreply@github.com>2024-05-07 08:55:39 +0900
commit875213ce24af5a7423883e682398c747caae575c (patch)
treee137c84f7625dea0870c325bd01999d8dfac9d5e
parent71d4b8544d5a2376146479bd2be7c59d551895ca (diff)
docs: add kawaii logo (#5965)
-rw-r--r--docs/.vitepress/theme/index.css4
-rw-r--r--docs/README.md14
-rw-r--r--docs/public/logo-uwu.pngbin0 -> 155211 bytes
3 files changed, 18 insertions, 0 deletions
diff --git a/docs/.vitepress/theme/index.css b/docs/.vitepress/theme/index.css
index 0434a59e7..293e702af 100644
--- a/docs/.vitepress/theme/index.css
+++ b/docs/.vitepress/theme/index.css
@@ -21,6 +21,10 @@
transform: none;
}
+.VPHero .image img.uwu {
+ max-height: 290px;
+}
+
.VPHero .container .actions {
justify-content: center !important;
}
diff --git a/docs/README.md b/docs/README.md
index 2cf7a0c27..89164622c 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -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">
diff --git a/docs/public/logo-uwu.png b/docs/public/logo-uwu.png
new file mode 100644
index 000000000..a939eaa89
--- /dev/null
+++ b/docs/public/logo-uwu.png
Binary files differ