mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
fix: 🥴
This commit is contained in:
parent
ec36655a83
commit
5b1b0569cc
3 changed files with 6 additions and 6 deletions
|
@ -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",
|
||||||
|
|
|
@ -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 a new issue