From 8457662dead34e03226f560feb0aac147e41a0a3 Mon Sep 17 00:00:00 2001 From: Gumball12 Date: Sun, 15 Dec 2024 00:06:46 +0900 Subject: [PATCH] docs: bring back the UwU logo resolved #1077 --- .../landing/1. hero-section/HeroDiagram.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.vitepress/theme/components/landing/1. hero-section/HeroDiagram.vue b/.vitepress/theme/components/landing/1. hero-section/HeroDiagram.vue index 10bd32fa4..f76e70922 100644 --- a/.vitepress/theme/components/landing/1. hero-section/HeroDiagram.vue +++ b/.vitepress/theme/components/landing/1. hero-section/HeroDiagram.vue @@ -437,6 +437,12 @@ const isChromiumBrowser = ref(false) onMounted(() => { isChromiumBrowser.value = 'chrome' in window }) + +// Check for uwu query +const isUwu = ref(false) +onMounted(() => { + isUwu.value = location.search.includes('?uwu') +})