fix: 🥴
This commit is contained in:
parent
02cb89801a
commit
74eaf9def4
3 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "calckey",
|
||||
"version": "13.0.9",
|
||||
"version": "13.0.5-rc.1",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
@ -14,7 +14,7 @@
|
|||
<div class="_formRoot">
|
||||
<div class="_formBlock fwhjspax" :style="{ backgroundImage: `url(${ $instance.bannerUrl })` }">
|
||||
<div class="content">
|
||||
<img ref="instanceIcon" :src="$store.state.woozyMode ? '/assets/woozy.png' : $instance.iconUrl || $instance.faviconUrl || '/favicon.ico'" aria-label="none" class="icon" @click="easterEgg"/>
|
||||
<img ref="instanceIcon" :src="defaultStore.state.woozyMode === true ? '/static-assets/woozy.png' : $instance.iconUrl || $instance.faviconUrl || '/favicon.ico'" aria-label="none" class="icon" @click="easterEgg"/>
|
||||
<div class="name">
|
||||
<b>{{ $instance.name || host }}</b>
|
||||
</div>
|
||||
|
@ -166,6 +166,10 @@ definePageMetadata(computed(() => ({
|
|||
icon: 'ph-info-bold ph-lg',
|
||||
})));
|
||||
|
||||
async function sleep(seconds) {
|
||||
return new Promise((resolve) => setTimeout(resolve, seconds * 1000));
|
||||
}
|
||||
|
||||
async function easterEgg(): Promise<void> {
|
||||
iconClicks++;
|
||||
instanceIcon.style.animation = 'unset';
|
||||
|
@ -182,10 +186,6 @@ async function easterEgg(): Promise<void> {
|
|||
|
||||
let swiperRef = null;
|
||||
|
||||
async function sleep(seconds) {
|
||||
return new Promise((resolve) => setTimeout(resolve, seconds * 1000));
|
||||
}
|
||||
|
||||
function setSwiperRef(swiper) {
|
||||
swiperRef = swiper;
|
||||
syncSlide(tabs.indexOf(tab));
|
||||
|
|
Loading…
Reference in a new issue