Skip to content

Commit b137c7a

Browse files
committed
add cute logo
1 parent baf27c8 commit b137c7a

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

.vitepress/theme/components/Home.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
<script setup lang="ts">
2-
import { onMounted } from 'vue'
2+
import { ref, onMounted } from 'vue'
33
import SiteMap from './SiteMap.vue'
44
// import NewsLetter from './NewsLetter.vue'
55
import { load, data, base } from './sponsors'
66
import SponsorsGroup from './SponsorsGroup.vue'
77
import VueMasteryModal from './VueMasteryModal.vue'
88
9+
const uwu = ref(false)
10+
911
onMounted(async () => {
12+
uwu.value = location.search.includes('?uwu')
1013
await load()
1114
})
1215
</script>
1316

1417
<template>
1518
<section id="hero">
19+
<img
20+
v-if="uwu"
21+
src="/logo-uwu.svg"
22+
style="width: 100%; max-width: 580px; margin: -80px auto -20px"
23+
/>
1624
<h1 class="tagline">
1725
The
1826
<span class="accent">Progressive</span>

0 commit comments

Comments
 (0)