fix: 🥴
This commit is contained in:
parent
0bc6f27e32
commit
b1fbbbe426
2 changed files with 14 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "13.0.6",
|
"version": "13.0.7",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<div class="_formRoot">
|
<div class="_formRoot">
|
||||||
<div class="_formBlock fwhjspax" :style="{ backgroundImage: `url(${ $instance.bannerUrl })` }">
|
<div class="_formBlock fwhjspax" :style="{ backgroundImage: `url(${ $instance.bannerUrl })` }">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<img ref="instanceIcon" :src="defaultStore.woozyMode ? '/assets/woozy.png' : $instance.iconUrl || $instance.faviconUrl || '/favicon.ico'" aria-label="none" class="icon"/>
|
<img :src="defaultStore.woozyMode ? '/assets/woozy.png' : $instance.iconUrl || $instance.faviconUrl || '/favicon.ico'" aria-label="none" class="icon" @click="easterEgg"/>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
<b>{{ $instance.name || host }}</b>
|
<b>{{ $instance.name || host }}</b>
|
||||||
</div>
|
</div>
|
||||||
|
@ -186,8 +186,7 @@ function syncSlide(index) {
|
||||||
swiperRef.slideTo(index);
|
swiperRef.slideTo(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
async function easterEgg() {
|
||||||
instanceIcon.addEventListener('click', async () => {
|
|
||||||
iconClicks++;
|
iconClicks++;
|
||||||
instanceIcon.style.animation = 'unset';
|
instanceIcon.style.animation = 'unset';
|
||||||
await sleep(0.1);
|
await sleep(0.1);
|
||||||
|
@ -199,8 +198,7 @@ onMounted(() => {
|
||||||
instanceIcon.style.animation = 'unset';
|
instanceIcon.style.animation = 'unset';
|
||||||
instanceIcon.style.animation = 'swpinY 0.9s 1';
|
instanceIcon.style.animation = 'swpinY 0.9s 1';
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
});
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue