mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
docs: add cute logo
This commit is contained in:
parent
be2829d0cc
commit
6a7dde54e4
@ -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
BIN
docs/public/logo-uwu.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 87 KiB |
Loading…
Reference in New Issue
Block a user