docs: add cute logo

This commit is contained in:
Evan You 2024-05-03 10:39:04 -07:00
parent be2829d0cc
commit 6a7dde54e4
2 changed files with 13 additions and 0 deletions

View File

@ -45,3 +45,16 @@ features:
title: Fully Typed APIs
details: Flexible programmatic APIs with full TypeScript typing.
---
<script setup>
import { onMounted } from 'vue'
onMounted(() => {
const urlParams = new URLSearchParams(window.location.search)
if (urlParams.get('uwu') != null) {
const img = document.querySelector('.VPHero .VPImage.image-src')
img.src = '/logo-uwu.png'
img.alt = 'Vite Kawaii Logo by @icarusgkx'
}
})
</script>

BIN
docs/public/logo-uwu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB