fix: 🥴
This commit is contained in:
parent
02cb89801a
commit
74eaf9def4
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "13.0.9",
|
"version": "13.0.5-rc.1",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
@ -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="$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">
|
<div class="name">
|
||||||
<b>{{ $instance.name || host }}</b>
|
<b>{{ $instance.name || host }}</b>
|
||||||
</div>
|
</div>
|
||||||
|
@ -166,6 +166,10 @@ definePageMetadata(computed(() => ({
|
||||||
icon: 'ph-info-bold ph-lg',
|
icon: 'ph-info-bold ph-lg',
|
||||||
})));
|
})));
|
||||||
|
|
||||||
|
async function sleep(seconds) {
|
||||||
|
return new Promise((resolve) => setTimeout(resolve, seconds * 1000));
|
||||||
|
}
|
||||||
|
|
||||||
async function easterEgg(): Promise<void> {
|
async function easterEgg(): Promise<void> {
|
||||||
iconClicks++;
|
iconClicks++;
|
||||||
instanceIcon.style.animation = 'unset';
|
instanceIcon.style.animation = 'unset';
|
||||||
|
@ -182,10 +186,6 @@ async function easterEgg(): Promise<void> {
|
||||||
|
|
||||||
let swiperRef = null;
|
let swiperRef = null;
|
||||||
|
|
||||||
async function sleep(seconds) {
|
|
||||||
return new Promise((resolve) => setTimeout(resolve, seconds * 1000));
|
|
||||||
}
|
|
||||||
|
|
||||||
function setSwiperRef(swiper) {
|
function setSwiperRef(swiper) {
|
||||||
swiperRef = swiper;
|
swiperRef = swiper;
|
||||||
syncSlide(tabs.indexOf(tab));
|
syncSlide(tabs.indexOf(tab));
|
||||||
|
|
Loading…
Reference in New Issue