diff --git a/package.json b/package.json index ccaf0e134..9620e2058 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "13.0.7", + "version": "13.0.8", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/about.vue b/packages/client/src/pages/about.vue index 54d4c29c7..83d7941f7 100644 --- a/packages/client/src/pages/about.vue +++ b/packages/client/src/pages/about.vue @@ -14,7 +14,7 @@
- +
{{ $instance.name || host }}
@@ -167,6 +167,20 @@ definePageMetadata(computed(() => ({ icon: 'ph-info-bold ph-lg', }))); +async function easterEgg(): Promise { + iconClicks++; + instanceIcon.style.animation = 'unset'; + await sleep(0.1); + const normalizedCount = (iconClicks % 3) + 1; + instanceIcon.style.animation = `iconShake${normalizedCount} 0.${normalizedCount}s 1`; + if (iconClicks % 3 === 0) { + defaultStore.set('woozyMode', !defaultStore.woozyMode); + await sleep(0.4); + instanceIcon.style.animation = 'unset'; + instanceIcon.style.animation = 'swpinY 0.9s 1'; + } +} + let swiperRef = null; async function sleep(seconds) { @@ -186,20 +200,6 @@ function syncSlide(index) { swiperRef.slideTo(index); } -async function easterEgg() { - iconClicks++; - instanceIcon.style.animation = 'unset'; - await sleep(0.1); - const normalizedCount = (iconClicks % 3) + 1; - instanceIcon.style.animation = `iconShake${normalizedCount} 0.${normalizedCount}s 1`; - if (iconClicks % 3 === 0) { - defaultStore.set('woozyMode', !defaultStore.woozyMode); - await sleep(0.4); - instanceIcon.style.animation = 'unset'; - instanceIcon.style.animation = 'swpinY 0.9s 1'; - } -} -