Skip to content

Commit 6a7dde5

Browse files
committed
docs: add cute logo
1 parent be2829d commit 6a7dde5

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

docs/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,16 @@ features:
4545
title: Fully Typed APIs
4646
details: Flexible programmatic APIs with full TypeScript typing.
4747
---
48+
49+
<script setup>
50+
import { onMounted } from 'vue'
51+
52+
onMounted(() => {
53+
const urlParams = new URLSearchParams(window.location.search)
54+
if (urlParams.get('uwu') != null) {
55+
const img = document.querySelector('.VPHero .VPImage.image-src')
56+
img.src = '/logo-uwu.png'
57+
img.alt = 'Vite Kawaii Logo by @icarusgkx'
58+
}
59+
})
60+
</script>

docs/public/logo-uwu.png

87 KB
Loading

0 commit comments

Comments
 (0)