diff --git a/package.json b/package.json index fead2619a..1adf235a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "13.0.5-rc.3", + "version": "13.0.5-rc.4", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/about.vue b/packages/client/src/pages/about.vue index 93d3ddfea..7e182b4e1 100644 --- a/packages/client/src/pages/about.vue +++ b/packages/client/src/pages/about.vue @@ -14,7 +14,7 @@
- +
{{ $instance.name || host }}
@@ -109,6 +109,7 @@ import { i18n } from '@/i18n'; import { definePageMetadata } from '@/scripts/page-metadata'; import { deviceKind } from '@/scripts/device-kind'; import { iAmModerator } from '@/account'; +import { instance } from '@/instance'; import { defaultStore } from '@/store'; import 'swiper/scss'; import 'swiper/scss/virtual'; @@ -172,7 +173,7 @@ async function sleep(seconds) { function easterEgg() { iconClicks++; - instanceIcon.style.animation = 'unset'; + instanceIcon.style.animation = ''; console.log(iconClicks); sleep(0.1); const normalizedCount = (iconClicks % 3) + 1; @@ -181,8 +182,14 @@ function easterEgg() { console.log('here'); defaultStore.state.woozyMode = !defaultStore.state.woozyMode; sleep(0.4); - instanceIcon.style.animation = 'unset'; + instanceIcon.style.animation = ''; instanceIcon.style.animation = 'swpinY 0.9s 1'; + if (iconClicks % 6 === 0) { + instanceIcon.src = instance.iconUrl || instance.faviconUrl || '/favicon.ico' + } + else { + instanceIcon.src = '/static-assets/woozy.png'; + } } }