refactor
This commit is contained in:
		
							parent
							
								
									254fede524
								
							
						
					
					
						commit
						632c7d2ac6
					
				
					 38 changed files with 90 additions and 90 deletions
				
			
		|  | @ -10,7 +10,7 @@ | ||||||
| 			</button> | 			</button> | ||||||
| 		</div> | 		</div> | ||||||
| 	</header> | 	</header> | ||||||
| 	<transition | 	<Transition | ||||||
| 		:name="$store.state.animation ? 'container-toggle' : ''" | 		:name="$store.state.animation ? 'container-toggle' : ''" | ||||||
| 		@enter="enter" | 		@enter="enter" | ||||||
| 		@after-enter="afterEnter" | 		@after-enter="afterEnter" | ||||||
|  | @ -23,7 +23,7 @@ | ||||||
| 				<span>{{ $ts.showMore }}</span> | 				<span>{{ $ts.showMore }}</span> | ||||||
| 			</button> | 			</button> | ||||||
| 		</div> | 		</div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,9 +1,9 @@ | ||||||
| <template> | <template> | ||||||
| <transition :name="$store.state.animation ? 'fade' : ''" appear> | <Transition :name="$store.state.animation ? 'fade' : ''" appear> | ||||||
| 	<div ref="rootEl" class="nvlagfpb" :style="{ zIndex }" @contextmenu.prevent.stop="() => {}"> | 	<div ref="rootEl" class="nvlagfpb" :style="{ zIndex }" @contextmenu.prevent.stop="() => {}"> | ||||||
| 		<MkMenu :items="items" :align="'left'" @close="$emit('closed')"/> | 		<MkMenu :items="items" :align="'left'" @close="$emit('closed')"/> | ||||||
| 	</div> | 	</div> | ||||||
| </transition> | </Transition> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts" setup> | <script lang="ts" setup> | ||||||
|  |  | ||||||
|  | @ -8,7 +8,7 @@ | ||||||
| 			<template v-else><i class="ti ti-chevron-down"></i></template> | 			<template v-else><i class="ti ti-chevron-down"></i></template> | ||||||
| 		</button> | 		</button> | ||||||
| 	</header> | 	</header> | ||||||
| 	<transition | 	<Transition | ||||||
| 		:name="$store.state.animation ? 'folder-toggle' : ''" | 		:name="$store.state.animation ? 'folder-toggle' : ''" | ||||||
| 		@enter="enter" | 		@enter="enter" | ||||||
| 		@after-enter="afterEnter" | 		@after-enter="afterEnter" | ||||||
|  | @ -18,7 +18,7 @@ | ||||||
| 		<div v-show="showBody"> | 		<div v-show="showBody"> | ||||||
| 			<slot></slot> | 			<slot></slot> | ||||||
| 		</div> | 		</div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,12 +1,12 @@ | ||||||
| <template> | <template> | ||||||
| <transition :name="$store.state.animation ? (type === 'drawer') ? 'modal-drawer' : (type === 'popup') ? 'modal-popup' : 'modal' : ''" :duration="$store.state.animation ? 200 : 0" appear @after-leave="emit('closed')" @enter="emit('opening')" @after-enter="onOpened"> | <Transition :name="$store.state.animation ? (type === 'drawer') ? 'modal-drawer' : (type === 'popup') ? 'modal-popup' : 'modal' : ''" :duration="$store.state.animation ? 200 : 0" appear @after-leave="emit('closed')" @enter="emit('opening')" @after-enter="onOpened"> | ||||||
| 	<div v-show="manualShowing != null ? manualShowing : showing" v-hotkey.global="keymap" class="qzhlnise" :class="{ drawer: type === 'drawer', dialog: type === 'dialog' || type === 'dialog:top', popup: type === 'popup' }" :style="{ zIndex, pointerEvents: (manualShowing != null ? manualShowing : showing) ? 'auto' : 'none', '--transformOrigin': transformOrigin }"> | 	<div v-show="manualShowing != null ? manualShowing : showing" v-hotkey.global="keymap" class="qzhlnise" :class="{ drawer: type === 'drawer', dialog: type === 'dialog' || type === 'dialog:top', popup: type === 'popup' }" :style="{ zIndex, pointerEvents: (manualShowing != null ? manualShowing : showing) ? 'auto' : 'none', '--transformOrigin': transformOrigin }"> | ||||||
| 		<div class="bg _modalBg" :class="{ transparent: transparentBg && (type === 'popup') }" :style="{ zIndex }" @click="onBgClick" @contextmenu.prevent.stop="() => {}"></div> | 		<div class="bg _modalBg" :class="{ transparent: transparentBg && (type === 'popup') }" :style="{ zIndex }" @click="onBgClick" @contextmenu.prevent.stop="() => {}"></div> | ||||||
| 		<div ref="content" class="content" :class="{ fixed, top: type === 'dialog:top' }" :style="{ zIndex }" @click.self="onBgClick"> | 		<div ref="content" class="content" :class="{ fixed, top: type === 'dialog:top' }" :style="{ zIndex }" @click.self="onBgClick"> | ||||||
| 			<slot :max-height="maxHeight" :type="type"></slot> | 			<slot :max-height="maxHeight" :type="type"></slot> | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
| </transition> | </Transition> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts" setup> | <script lang="ts" setup> | ||||||
|  |  | ||||||
|  | @ -1,8 +1,8 @@ | ||||||
| <template> | <template> | ||||||
| <div class="mk-notification-toast" :style="{ zIndex }"> | <div class="mk-notification-toast" :style="{ zIndex }"> | ||||||
| 	<transition :name="$store.state.animation ? 'notification-toast' : ''" appear @after-leave="$emit('closed')"> | 	<Transition :name="$store.state.animation ? 'notification-toast' : ''" appear @after-leave="$emit('closed')"> | ||||||
| 		<XNotification v-if="showing" :notification="notification" class="notification _acrylic"/> | 		<XNotification v-if="showing" :notification="notification" class="notification _acrylic"/> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| <template> | <template> | ||||||
| <transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | <Transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | ||||||
| 	<MkLoading v-if="fetching"/> | 	<MkLoading v-if="fetching"/> | ||||||
| 
 | 
 | ||||||
| 	<MkError v-else-if="error" @retry="init()"/> | 	<MkError v-else-if="error" @retry="init()"/> | ||||||
|  | @ -28,7 +28,7 @@ | ||||||
| 			<MkLoading v-else class="loading"/> | 			<MkLoading v-else class="loading"/> | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
| </transition> | </Transition> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts" setup> | <script lang="ts" setup> | ||||||
|  |  | ||||||
|  | @ -1,12 +1,12 @@ | ||||||
| <template> | <template> | ||||||
| <div class="mk-toast"> | <div class="mk-toast"> | ||||||
| 	<transition :name="$store.state.animation ? 'toast' : ''" appear @after-leave="emit('closed')"> | 	<Transition :name="$store.state.animation ? 'toast' : ''" appear @after-leave="emit('closed')"> | ||||||
| 		<div v-if="showing" class="body _acrylic" :style="{ zIndex }"> | 		<div v-if="showing" class="body _acrylic" :style="{ zIndex }"> | ||||||
| 			<div class="message"> | 			<div class="message"> | ||||||
| 				{{ message }} | 				{{ message }} | ||||||
| 			</div> | 			</div> | ||||||
| 		</div> | 		</div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,12 +1,12 @@ | ||||||
| <template> | <template> | ||||||
| <transition :name="$store.state.animation ? 'tooltip' : ''" appear @after-leave="emit('closed')"> | <Transition :name="$store.state.animation ? 'tooltip' : ''" appear @after-leave="emit('closed')"> | ||||||
| 	<div v-show="showing" ref="el" class="buebdbiu _acrylic _shadow" :style="{ zIndex, maxWidth: maxWidth + 'px' }"> | 	<div v-show="showing" ref="el" class="buebdbiu _acrylic _shadow" :style="{ zIndex, maxWidth: maxWidth + 'px' }"> | ||||||
| 		<slot> | 		<slot> | ||||||
| 			<Mfm v-if="asMfm" :text="text"/> | 			<Mfm v-if="asMfm" :text="text"/> | ||||||
| 			<span v-else>{{ text }}</span> | 			<span v-else>{{ text }}</span> | ||||||
| 		</slot> | 		</slot> | ||||||
| 	</div> | 	</div> | ||||||
| </transition> | </Transition> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts" setup> | <script lang="ts" setup> | ||||||
|  |  | ||||||
|  | @ -7,7 +7,7 @@ | ||||||
| 	<iframe ref="tweet" scrolling="no" frameborder="no" :style="{ position: 'relative', width: '100%', height: `${tweetHeight}px` }" :src="`https://platform.twitter.com/embed/index.html?embedId=${embedId}&hideCard=false&hideThread=false&lang=en&theme=${$store.state.darkMode ? 'dark' : 'light'}&id=${tweetId}`"></iframe> | 	<iframe ref="tweet" scrolling="no" frameborder="no" :style="{ position: 'relative', width: '100%', height: `${tweetHeight}px` }" :src="`https://platform.twitter.com/embed/index.html?embedId=${embedId}&hideCard=false&hideThread=false&lang=en&theme=${$store.state.darkMode ? 'dark' : 'light'}&id=${tweetId}`"></iframe> | ||||||
| </div> | </div> | ||||||
| <div v-else class="mk-url-preview"> | <div v-else class="mk-url-preview"> | ||||||
| 	<transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | 	<Transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | ||||||
| 		<component :is="self ? 'MkA' : 'a'" v-if="!fetching" class="link" :class="{ compact }" :[attr]="self ? url.substr(local.length) : url" rel="nofollow noopener" :target="target" :title="url"> | 		<component :is="self ? 'MkA' : 'a'" v-if="!fetching" class="link" :class="{ compact }" :[attr]="self ? url.substr(local.length) : url" rel="nofollow noopener" :target="target" :title="url"> | ||||||
| 			<div v-if="thumbnail" class="thumbnail" :style="`background-image: url('${thumbnail}')`"> | 			<div v-if="thumbnail" class="thumbnail" :style="`background-image: url('${thumbnail}')`"> | ||||||
| 			</div> | 			</div> | ||||||
|  | @ -22,7 +22,7 @@ | ||||||
| 				</footer> | 				</footer> | ||||||
| 			</article> | 			</article> | ||||||
| 		</component> | 		</component> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 	<div v-if="tweetId" class="action"> | 	<div v-if="tweetId" class="action"> | ||||||
| 		<MkButton :small="true" inline @click="tweetExpanded = true"> | 		<MkButton :small="true" inline @click="tweetExpanded = true"> | ||||||
| 			<i class="ti ti-brand-twitter"></i> {{ i18n.ts.expandTweet }} | 			<i class="ti ti-brand-twitter"></i> {{ i18n.ts.expandTweet }} | ||||||
|  |  | ||||||
|  | @ -1,8 +1,8 @@ | ||||||
| <template> | <template> | ||||||
| <div class="fgmtyycl" :style="{ zIndex, top: top + 'px', left: left + 'px' }"> | <div class="fgmtyycl" :style="{ zIndex, top: top + 'px', left: left + 'px' }"> | ||||||
| 	<transition :name="$store.state.animation ? 'zoom' : ''" @after-leave="emit('closed')"> | 	<Transition :name="$store.state.animation ? 'zoom' : ''" @after-leave="emit('closed')"> | ||||||
| 		<MkUrlPreview v-if="showing" class="_popup _shadow" :url="url"/> | 		<MkUrlPreview v-if="showing" class="_popup _shadow" :url="url"/> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| <template> | <template> | ||||||
| <transition :name="$store.state.animation ? 'popup' : ''" appear @after-leave="emit('closed')"> | <Transition :name="$store.state.animation ? 'popup' : ''" appear @after-leave="emit('closed')"> | ||||||
| 	<div v-if="showing" class="fxxzrfni _popup _shadow" :style="{ zIndex, top: top + 'px', left: left + 'px' }" @mouseover="() => { emit('mouseover'); }" @mouseleave="() => { emit('mouseleave'); }"> | 	<div v-if="showing" class="fxxzrfni _popup _shadow" :style="{ zIndex, top: top + 'px', left: left + 'px' }" @mouseover="() => { emit('mouseover'); }" @mouseleave="() => { emit('mouseleave'); }"> | ||||||
| 		<div v-if="user != null" class="info"> | 		<div v-if="user != null" class="info"> | ||||||
| 			<div class="banner" :style="user.bannerUrl ? `background-image: url(${user.bannerUrl})` : ''"> | 			<div class="banner" :style="user.bannerUrl ? `background-image: url(${user.bannerUrl})` : ''"> | ||||||
|  | @ -30,7 +30,7 @@ | ||||||
| 			<MkLoading/> | 			<MkLoading/> | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
| </transition> | </Transition> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts" setup> | <script lang="ts" setup> | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| <template> | <template> | ||||||
| <transition :name="$store.state.animation ? 'window' : ''" appear @after-leave="$emit('closed')"> | <Transition :name="$store.state.animation ? 'window' : ''" appear @after-leave="$emit('closed')"> | ||||||
| 	<div v-if="showing" ref="rootEl" class="ebkgocck" :class="{ maximized }"> | 	<div v-if="showing" ref="rootEl" class="ebkgocck" :class="{ maximized }"> | ||||||
| 		<div class="body _shadow _narrow_" @mousedown="onBodyMousedown" @keydown="onKeydown"> | 		<div class="body _shadow _narrow_" @mousedown="onBodyMousedown" @keydown="onKeydown"> | ||||||
| 			<div class="header" :class="{ mini }" @contextmenu.prevent.stop="onContextmenu"> | 			<div class="header" :class="{ mini }" @contextmenu.prevent.stop="onContextmenu"> | ||||||
|  | @ -31,7 +31,7 @@ | ||||||
| 			<div class="handle bottom-left" @mousedown.prevent="onBottomLeftHandleMousedown"></div> | 			<div class="handle bottom-left" @mousedown.prevent="onBottomLeftHandleMousedown"></div> | ||||||
| 		</template> | 		</template> | ||||||
| 	</div> | 	</div> | ||||||
| </transition> | </Transition> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts" setup> | <script lang="ts" setup> | ||||||
|  |  | ||||||
|  | @ -6,11 +6,11 @@ | ||||||
| 	</template> | 	</template> | ||||||
| 
 | 
 | ||||||
| 	<div class="poamfof"> | 	<div class="poamfof"> | ||||||
| 		<transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | 		<Transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | ||||||
| 			<div v-if="player.url" class="player"> | 			<div v-if="player.url" class="player"> | ||||||
| 				<iframe v-if="!fetching" :src="player.url + (player.url.match(/\?/) ? '&autoplay=1&auto_play=1' : '?autoplay=1&auto_play=1')" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen/> | 				<iframe v-if="!fetching" :src="player.url + (player.url.match(/\?/) ? '&autoplay=1&auto_play=1' : '?autoplay=1&auto_play=1')" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen/> | ||||||
| 			</div> | 			</div> | ||||||
| 		</transition> | 		</Transition> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
| 		<MkError v-else-if="!player.url" @retry="ytFetch()"/> | 		<MkError v-else-if="!player.url" @retry="ytFetch()"/> | ||||||
| 	</div> | 	</div> | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| <template> | <template> | ||||||
| <transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | <Transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | ||||||
| 	<div v-if="pending"> | 	<div v-if="pending"> | ||||||
| 		<MkLoading/> | 		<MkLoading/> | ||||||
| 	</div> | 	</div> | ||||||
|  | @ -12,7 +12,7 @@ | ||||||
| 			<MkButton inline class="retry" @click="retry"><i class="ti ti-reload"></i> {{ $ts.retry }}</MkButton> | 			<MkButton inline class="retry" @click="retry"><i class="ti ti-reload"></i> {{ $ts.retry }}</MkButton> | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
| </transition> | </Transition> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts"> | <script lang="ts"> | ||||||
|  |  | ||||||
|  | @ -1,11 +1,11 @@ | ||||||
| <template> | <template> | ||||||
| <transition :name="$store.state.animation ? 'zoom' : ''" appear> | <Transition :name="$store.state.animation ? 'zoom' : ''" appear> | ||||||
| 	<div class="mjndxjcg"> | 	<div class="mjndxjcg"> | ||||||
| 		<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/> | 		<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/> | ||||||
| 		<p><i class="ti ti-alert-triangle"></i> {{ i18n.ts.somethingHappened }}</p> | 		<p><i class="ti ti-alert-triangle"></i> {{ i18n.ts.somethingHappened }}</p> | ||||||
| 		<MkButton class="button" @click="() => $emit('retry')">{{ i18n.ts.retry }}</MkButton> | 		<MkButton class="button" @click="() => $emit('retry')">{{ i18n.ts.retry }}</MkButton> | ||||||
| 	</div> | 	</div> | ||||||
| </transition> | </Transition> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts" setup> | <script lang="ts" setup> | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| <template> | <template> | ||||||
| <MkLoading v-if="!loaded"/> | <MkLoading v-if="!loaded"/> | ||||||
| <transition :name="$store.state.animation ? 'zoom' : ''" appear> | <Transition :name="$store.state.animation ? 'zoom' : ''" appear> | ||||||
| 	<div v-show="loaded" class="mjndxjch"> | 	<div v-show="loaded" class="mjndxjch"> | ||||||
| 		<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/> | 		<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/> | ||||||
| 		<p><b><i class="ti ti-alert-triangle"></i> {{ i18n.ts.pageLoadError }}</b></p> | 		<p><b><i class="ti ti-alert-triangle"></i> {{ i18n.ts.pageLoadError }}</b></p> | ||||||
|  | @ -14,7 +14,7 @@ | ||||||
| 		<p><MkA to="/docs/general/troubleshooting" class="_link">{{ i18n.ts.troubleshooting }}</MkA></p> | 		<p><MkA to="/docs/general/troubleshooting" class="_link">{{ i18n.ts.troubleshooting }}</MkA></p> | ||||||
| 		<p v-if="error" class="error">ERROR: {{ error }}</p> | 		<p v-if="error" class="error">ERROR: {{ error }}</p> | ||||||
| 	</div> | 	</div> | ||||||
| </transition> | </Transition> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts" setup> | <script lang="ts" setup> | ||||||
|  |  | ||||||
|  | @ -1,13 +1,13 @@ | ||||||
| <template> | <template> | ||||||
| <div class="wbrkwale"> | <div class="wbrkwale"> | ||||||
| 	<transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | 	<Transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
| 		<div v-else class="instances"> | 		<div v-else class="instances"> | ||||||
| 			<MkA v-for="(instance, i) in instances" :key="instance.id" v-tooltip.mfm.noDelay="`${instance.name}\n${instance.host}\n${instance.softwareName} ${instance.softwareVersion}`" :to="`/instance-info/${instance.host}`" class="instance"> | 			<MkA v-for="(instance, i) in instances" :key="instance.id" v-tooltip.mfm.noDelay="`${instance.name}\n${instance.host}\n${instance.softwareName} ${instance.softwareVersion}`" :to="`/instance-info/${instance.host}`" class="instance"> | ||||||
| 				<MkInstanceCardMini :instance="instance"/> | 				<MkInstanceCardMini :instance="instance"/> | ||||||
| 			</MkA> | 			</MkA> | ||||||
| 		</div> | 		</div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,13 +1,13 @@ | ||||||
| <template> | <template> | ||||||
| <div> | <div> | ||||||
| 	<transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | 	<Transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
| 		<div v-else :class="$style.root" class="_panel"> | 		<div v-else :class="$style.root" class="_panel"> | ||||||
| 			<MkA v-for="user in moderators" :key="user.id" class="user" :to="`/user-info/${user.id}`"> | 			<MkA v-for="user in moderators" :key="user.id" class="user" :to="`/user-info/${user.id}`"> | ||||||
| 				<MkAvatar :user="user" class="avatar" :show-indicator="true" :disable-link="true"/> | 				<MkAvatar :user="user" class="avatar" :show-indicator="true" :disable-link="true"/> | ||||||
| 			</MkA> | 			</MkA> | ||||||
| 		</div> | 		</div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| <template> | <template> | ||||||
| <div> | <div> | ||||||
| 	<transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | 	<Transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
| 		<div v-else :class="$style.root"> | 		<div v-else :class="$style.root"> | ||||||
| 			<div class="item _panel users"> | 			<div class="item _panel users"> | ||||||
|  | @ -42,7 +42,7 @@ | ||||||
| 				</div> | 				</div> | ||||||
| 			</div> | 			</div> | ||||||
| 		</div> | 		</div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,13 +1,13 @@ | ||||||
| <template> | <template> | ||||||
| <div :class="$style.root"> | <div :class="$style.root"> | ||||||
| 	<transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | 	<Transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
| 		<div v-else class="users"> | 		<div v-else class="users"> | ||||||
| 			<MkA v-for="(user, i) in newUsers" :key="user.id" :to="`/user-info/${user.id}`" class="user"> | 			<MkA v-for="(user, i) in newUsers" :key="user.id" :to="`/user-info/${user.id}`" class="user"> | ||||||
| 				<MkUserCardMini :user="user"/> | 				<MkUserCardMini :user="user"/> | ||||||
| 			</MkA> | 			</MkA> | ||||||
| 		</div> | 		</div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
| 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | ||||||
| 	<MkSpacer :content-max="1000" :margin-min="16" :margin-max="32"> | 	<MkSpacer :content-max="1000" :margin-min="16" :margin-max="32"> | ||||||
| 		<div class="_root"> | 		<div class="_root"> | ||||||
| 			<transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | 			<Transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | ||||||
| 				<div v-if="post" class="rkxwuolj"> | 				<div v-if="post" class="rkxwuolj"> | ||||||
| 					<div class="files"> | 					<div class="files"> | ||||||
| 						<div v-for="file in post.files" :key="file.id" class="file"> | 						<div v-for="file in post.files" :key="file.id" class="file"> | ||||||
|  | @ -48,7 +48,7 @@ | ||||||
| 				</div> | 				</div> | ||||||
| 				<MkError v-else-if="error" @retry="fetch()"/> | 				<MkError v-else-if="error" @retry="fetch()"/> | ||||||
| 				<MkLoading v-else/> | 				<MkLoading v-else/> | ||||||
| 			</transition> | 			</Transition> | ||||||
| 		</div> | 		</div> | ||||||
| 	</MkSpacer> | 	</MkSpacer> | ||||||
| </MkStickyContainer> | </MkStickyContainer> | ||||||
|  |  | ||||||
|  | @ -38,11 +38,11 @@ | ||||||
| 				</I18n> | 				</I18n> | ||||||
| 				<MkEllipsis/> | 				<MkEllipsis/> | ||||||
| 			</div> | 			</div> | ||||||
| 			<transition :name="animation ? 'fade' : ''"> | 			<Transition :name="animation ? 'fade' : ''"> | ||||||
| 				<div v-show="showIndicator" class="new-message"> | 				<div v-show="showIndicator" class="new-message"> | ||||||
| 					<button class="_buttonPrimary" @click="onIndicatorClick"><i class="fas ti-fw fa-arrow-circle-down"></i>{{ i18n.ts.newMessageExists }}</button> | 					<button class="_buttonPrimary" @click="onIndicatorClick"><i class="fas ti-fw fa-arrow-circle-down"></i>{{ i18n.ts.newMessageExists }}</button> | ||||||
| 				</div> | 				</div> | ||||||
| 			</transition> | 			</Transition> | ||||||
| 			<XForm v-if="!fetching" ref="formEl" :user="user" :group="group" class="form"/> | 			<XForm v-if="!fetching" ref="formEl" :user="user" :group="group" class="form"/> | ||||||
| 		</footer> | 		</footer> | ||||||
| 	</div> | 	</div> | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
| 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | ||||||
| 	<MkSpacer :content-max="700"> | 	<MkSpacer :content-max="700"> | ||||||
| 		<div class="mk-list-page"> | 		<div class="mk-list-page"> | ||||||
| 			<transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | 			<Transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | ||||||
| 				<div v-if="list" class="_section"> | 				<div v-if="list" class="_section"> | ||||||
| 					<div class="_content"> | 					<div class="_content"> | ||||||
| 						<MkButton inline @click="addUser()">{{ i18n.ts.addUser }}</MkButton> | 						<MkButton inline @click="addUser()">{{ i18n.ts.addUser }}</MkButton> | ||||||
|  | @ -11,9 +11,9 @@ | ||||||
| 						<MkButton inline @click="deleteList()">{{ i18n.ts.delete }}</MkButton> | 						<MkButton inline @click="deleteList()">{{ i18n.ts.delete }}</MkButton> | ||||||
| 					</div> | 					</div> | ||||||
| 				</div> | 				</div> | ||||||
| 			</transition> | 			</Transition> | ||||||
| 
 | 
 | ||||||
| 			<transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | 			<Transition :name="$store.state.animation ? 'zoom' : ''" mode="out-in"> | ||||||
| 				<div v-if="list" class="_section members _gap"> | 				<div v-if="list" class="_section members _gap"> | ||||||
| 					<div class="_title">{{ i18n.ts.members }}</div> | 					<div class="_title">{{ i18n.ts.members }}</div> | ||||||
| 					<div class="_content"> | 					<div class="_content"> | ||||||
|  | @ -31,7 +31,7 @@ | ||||||
| 						</div> | 						</div> | ||||||
| 					</div> | 					</div> | ||||||
| 				</div> | 				</div> | ||||||
| 			</transition> | 			</Transition> | ||||||
| 		</div> | 		</div> | ||||||
| 	</MkSpacer> | 	</MkSpacer> | ||||||
| </MkStickyContainer> | </MkStickyContainer> | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
| 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | ||||||
| 	<MkSpacer :content-max="800"> | 	<MkSpacer :content-max="800"> | ||||||
| 		<div class="fcuexfpr"> | 		<div class="fcuexfpr"> | ||||||
| 			<transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | 			<Transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | ||||||
| 				<div v-if="note" class="note"> | 				<div v-if="note" class="note"> | ||||||
| 					<div v-if="showNext" class="_gap"> | 					<div v-if="showNext" class="_gap"> | ||||||
| 						<XNotes class="_content" :pagination="nextPagination" :no-gap="true"/> | 						<XNotes class="_content" :pagination="nextPagination" :no-gap="true"/> | ||||||
|  | @ -34,7 +34,7 @@ | ||||||
| 				</div> | 				</div> | ||||||
| 				<MkError v-else-if="error" @retry="fetch()"/> | 				<MkError v-else-if="error" @retry="fetch()"/> | ||||||
| 				<MkLoading v-else/> | 				<MkLoading v-else/> | ||||||
| 			</transition> | 			</Transition> | ||||||
| 		</div> | 		</div> | ||||||
| 	</MkSpacer> | 	</MkSpacer> | ||||||
| </MkStickyContainer> | </MkStickyContainer> | ||||||
|  |  | ||||||
|  | @ -2,7 +2,7 @@ | ||||||
| <MkStickyContainer> | <MkStickyContainer> | ||||||
| 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | ||||||
| 	<MkSpacer :content-max="700"> | 	<MkSpacer :content-max="700"> | ||||||
| 		<transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | 		<Transition :name="$store.state.animation ? 'fade' : ''" mode="out-in"> | ||||||
| 			<div v-if="page" :key="page.id" class="xcukqgmh"> | 			<div v-if="page" :key="page.id" class="xcukqgmh"> | ||||||
| 				<div class="_block main"> | 				<div class="_block main"> | ||||||
| 					<!-- | 					<!-- | ||||||
|  | @ -57,7 +57,7 @@ | ||||||
| 			</div> | 			</div> | ||||||
| 			<MkError v-else-if="error" @retry="fetchPage()"/> | 			<MkError v-else-if="error" @retry="fetchPage()"/> | ||||||
| 			<MkLoading v-else/> | 			<MkLoading v-else/> | ||||||
| 		</transition> | 		</Transition> | ||||||
| 	</MkSpacer> | 	</MkSpacer> | ||||||
| </MkStickyContainer> | </MkStickyContainer> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
|  | @ -2,13 +2,13 @@ | ||||||
| <MkStickyContainer> | <MkStickyContainer> | ||||||
| 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | ||||||
| 	<MkSpacer :content-max="1000"> | 	<MkSpacer :content-max="1000"> | ||||||
| 		<transition name="fade" mode="out-in"> | 		<Transition name="fade" mode="out-in"> | ||||||
| 			<div v-if="user"> | 			<div v-if="user"> | ||||||
| 				<XFollowList :user="user" type="followers"/> | 				<XFollowList :user="user" type="followers"/> | ||||||
| 			</div> | 			</div> | ||||||
| 			<MkError v-else-if="error" @retry="fetchUser()"/> | 			<MkError v-else-if="error" @retry="fetchUser()"/> | ||||||
| 			<MkLoading v-else/> | 			<MkLoading v-else/> | ||||||
| 		</transition> | 		</Transition> | ||||||
| 	</MkSpacer> | 	</MkSpacer> | ||||||
| </MkStickyContainer> | </MkStickyContainer> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
|  | @ -2,13 +2,13 @@ | ||||||
| <MkStickyContainer> | <MkStickyContainer> | ||||||
| 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | ||||||
| 	<MkSpacer :content-max="1000"> | 	<MkSpacer :content-max="1000"> | ||||||
| 		<transition name="fade" mode="out-in"> | 		<Transition name="fade" mode="out-in"> | ||||||
| 			<div v-if="user"> | 			<div v-if="user"> | ||||||
| 				<XFollowList :user="user" type="following"/> | 				<XFollowList :user="user" type="following"/> | ||||||
| 			</div> | 			</div> | ||||||
| 			<MkError v-else-if="error" @retry="fetchUser()"/> | 			<MkError v-else-if="error" @retry="fetchUser()"/> | ||||||
| 			<MkLoading v-else/> | 			<MkLoading v-else/> | ||||||
| 		</transition> | 		</Transition> | ||||||
| 	</MkSpacer> | 	</MkSpacer> | ||||||
| </MkStickyContainer> | </MkStickyContainer> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
|  | @ -2,7 +2,7 @@ | ||||||
| <MkStickyContainer> | <MkStickyContainer> | ||||||
| 	<template #header><MkPageHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs"/></template> | 	<template #header><MkPageHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs"/></template> | ||||||
| 	<div> | 	<div> | ||||||
| 		<transition name="fade" mode="out-in"> | 		<Transition name="fade" mode="out-in"> | ||||||
| 			<div v-if="user"> | 			<div v-if="user"> | ||||||
| 				<XHome v-if="tab === 'home'" :user="user"/> | 				<XHome v-if="tab === 'home'" :user="user"/> | ||||||
| 				<XReactions v-else-if="tab === 'reactions'" :user="user"/> | 				<XReactions v-else-if="tab === 'reactions'" :user="user"/> | ||||||
|  | @ -12,7 +12,7 @@ | ||||||
| 			</div> | 			</div> | ||||||
| 			<MkError v-else-if="error" @retry="fetchUser()"/> | 			<MkError v-else-if="error" @retry="fetchUser()"/> | ||||||
| 			<MkLoading v-else/> | 			<MkLoading v-else/> | ||||||
| 		</transition> | 		</Transition> | ||||||
| 	</div> | 	</div> | ||||||
| </MkStickyContainer> | </MkStickyContainer> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| <template> | <template> | ||||||
| <span v-if="!fetching" class="nmidsaqw"> | <span v-if="!fetching" class="nmidsaqw"> | ||||||
| 	<template v-if="display === 'marquee'"> | 	<template v-if="display === 'marquee'"> | ||||||
| 		<transition name="change" mode="default"> | 		<Transition name="change" mode="default"> | ||||||
| 			<MarqueeText :key="key" :duration="marqueeDuration" :reverse="marqueeReverse"> | 			<MarqueeText :key="key" :duration="marqueeDuration" :reverse="marqueeReverse"> | ||||||
| 				<span v-for="instance in instances" :key="instance.id" class="item" :class="{ colored }" :style="{ background: colored ? instance.themeColor : null }"> | 				<span v-for="instance in instances" :key="instance.id" class="item" :class="{ colored }" :style="{ background: colored ? instance.themeColor : null }"> | ||||||
| 					<img class="icon" :src="getInstanceIcon(instance)" alt=""/> | 					<img class="icon" :src="getInstanceIcon(instance)" alt=""/> | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
| 					<span class="divider"></span> | 					<span class="divider"></span> | ||||||
| 				</span> | 				</span> | ||||||
| 			</MarqueeText> | 			</MarqueeText> | ||||||
| 		</transition> | 		</Transition> | ||||||
| 	</template> | 	</template> | ||||||
| 	<template v-else-if="display === 'oneByOne'"> | 	<template v-else-if="display === 'oneByOne'"> | ||||||
| 		<!-- TODO --> | 		<!-- TODO --> | ||||||
|  |  | ||||||
|  | @ -1,13 +1,13 @@ | ||||||
| <template> | <template> | ||||||
| <span v-if="!fetching" class="xbhtxfms"> | <span v-if="!fetching" class="xbhtxfms"> | ||||||
| 	<template v-if="display === 'marquee'"> | 	<template v-if="display === 'marquee'"> | ||||||
| 		<transition name="change" mode="default"> | 		<Transition name="change" mode="default"> | ||||||
| 			<MarqueeText :key="key" :duration="marqueeDuration" :reverse="marqueeReverse"> | 			<MarqueeText :key="key" :duration="marqueeDuration" :reverse="marqueeReverse"> | ||||||
| 				<span v-for="item in items" class="item"> | 				<span v-for="item in items" class="item"> | ||||||
| 					<a class="link" :href="item.link" rel="nofollow noopener" target="_blank" :title="item.title">{{ item.title }}</a><span class="divider"></span> | 					<a class="link" :href="item.link" rel="nofollow noopener" target="_blank" :title="item.title">{{ item.title }}</a><span class="divider"></span> | ||||||
| 				</span> | 				</span> | ||||||
| 			</MarqueeText> | 			</MarqueeText> | ||||||
| 		</transition> | 		</Transition> | ||||||
| 	</template> | 	</template> | ||||||
| 	<template v-else-if="display === 'oneByOne'"> | 	<template v-else-if="display === 'oneByOne'"> | ||||||
| 		<!-- TODO --> | 		<!-- TODO --> | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| <template> | <template> | ||||||
| <span v-if="!fetching" class="osdsvwzy"> | <span v-if="!fetching" class="osdsvwzy"> | ||||||
| 	<template v-if="display === 'marquee'"> | 	<template v-if="display === 'marquee'"> | ||||||
| 		<transition name="change" mode="default"> | 		<Transition name="change" mode="default"> | ||||||
| 			<MarqueeText :key="key" :duration="marqueeDuration" :reverse="marqueeReverse"> | 			<MarqueeText :key="key" :duration="marqueeDuration" :reverse="marqueeReverse"> | ||||||
| 				<span v-for="note in notes" :key="note.id" class="item"> | 				<span v-for="note in notes" :key="note.id" class="item"> | ||||||
| 					<img class="avatar" :src="note.user.avatarUrl" decoding="async"/> | 					<img class="avatar" :src="note.user.avatarUrl" decoding="async"/> | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
| 					<span class="divider"></span> | 					<span class="divider"></span> | ||||||
| 				</span> | 				</span> | ||||||
| 			</MarqueeText> | 			</MarqueeText> | ||||||
| 		</transition> | 		</Transition> | ||||||
| 	</template> | 	</template> | ||||||
| 	<template v-else-if="display === 'oneByOne'"> | 	<template v-else-if="display === 'oneByOne'"> | ||||||
| 		<!-- TODO --> | 		<!-- TODO --> | ||||||
|  |  | ||||||
|  | @ -21,18 +21,18 @@ | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'tray-back' : ''"> | 	<Transition :name="$store.state.animation ? 'tray-back' : ''"> | ||||||
| 		<div | 		<div | ||||||
| 			v-if="widgetsShowing" | 			v-if="widgetsShowing" | ||||||
| 			class="tray-back _modalBg" | 			class="tray-back _modalBg" | ||||||
| 			@click="widgetsShowing = false" | 			@click="widgetsShowing = false" | ||||||
| 			@touchstart.passive="widgetsShowing = false" | 			@touchstart.passive="widgetsShowing = false" | ||||||
| 		></div> | 		></div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'tray' : ''"> | 	<Transition :name="$store.state.animation ? 'tray' : ''"> | ||||||
| 		<XWidgets v-if="widgetsShowing" class="tray"/> | 		<XWidgets v-if="widgetsShowing" class="tray"/> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 
 | 
 | ||||||
| 	<iframe v-if="$store.state.aiChanMode" ref="live2d" class="ivnzpscs" src="https://misskey-dev.github.io/mascot-web/?scale=2&y=1.4"></iframe> | 	<iframe v-if="$store.state.aiChanMode" ref="live2d" class="ivnzpscs" src="https://misskey-dev.github.io/mascot-web/?scale=2&y=1.4"></iframe> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -54,18 +54,18 @@ | ||||||
| 		<button class="button post _button" @click="os.post()"><i class="ti ti-pencil"></i></button> | 		<button class="button post _button" @click="os.post()"><i class="ti ti-pencil"></i></button> | ||||||
| 	</div> | 	</div> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'menu-back' : ''"> | 	<Transition :name="$store.state.animation ? 'menu-back' : ''"> | ||||||
| 		<div | 		<div | ||||||
| 			v-if="drawerMenuShowing" | 			v-if="drawerMenuShowing" | ||||||
| 			class="menu-back _modalBg" | 			class="menu-back _modalBg" | ||||||
| 			@click="drawerMenuShowing = false" | 			@click="drawerMenuShowing = false" | ||||||
| 			@touchstart.passive="drawerMenuShowing = false" | 			@touchstart.passive="drawerMenuShowing = false" | ||||||
| 		></div> | 		></div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'menu' : ''"> | 	<Transition :name="$store.state.animation ? 'menu' : ''"> | ||||||
| 		<XDrawerMenu v-if="drawerMenuShowing" class="menu"/> | 		<XDrawerMenu v-if="drawerMenuShowing" class="menu"/> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 
 | 
 | ||||||
| 	<XCommon/> | 	<XCommon/> | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
|  | @ -26,31 +26,31 @@ | ||||||
| 		<button class="button post _button" @click="os.post()"><i class="ti ti-pencil"></i></button> | 		<button class="button post _button" @click="os.post()"><i class="ti ti-pencil"></i></button> | ||||||
| 	</div> | 	</div> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'menuDrawer-back' : ''"> | 	<Transition :name="$store.state.animation ? 'menuDrawer-back' : ''"> | ||||||
| 		<div | 		<div | ||||||
| 			v-if="drawerMenuShowing" | 			v-if="drawerMenuShowing" | ||||||
| 			class="menuDrawer-back _modalBg" | 			class="menuDrawer-back _modalBg" | ||||||
| 			@click="drawerMenuShowing = false" | 			@click="drawerMenuShowing = false" | ||||||
| 			@touchstart.passive="drawerMenuShowing = false" | 			@touchstart.passive="drawerMenuShowing = false" | ||||||
| 		></div> | 		></div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'menuDrawer' : ''"> | 	<Transition :name="$store.state.animation ? 'menuDrawer' : ''"> | ||||||
| 		<XDrawerMenu v-if="drawerMenuShowing" class="menuDrawer"/> | 		<XDrawerMenu v-if="drawerMenuShowing" class="menuDrawer"/> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'widgetsDrawer-back' : ''"> | 	<Transition :name="$store.state.animation ? 'widgetsDrawer-back' : ''"> | ||||||
| 		<div | 		<div | ||||||
| 			v-if="widgetsShowing" | 			v-if="widgetsShowing" | ||||||
| 			class="widgetsDrawer-back _modalBg" | 			class="widgetsDrawer-back _modalBg" | ||||||
| 			@click="widgetsShowing = false" | 			@click="widgetsShowing = false" | ||||||
| 			@touchstart.passive="widgetsShowing = false" | 			@touchstart.passive="widgetsShowing = false" | ||||||
| 		></div> | 		></div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'widgetsDrawer' : ''"> | 	<Transition :name="$store.state.animation ? 'widgetsDrawer' : ''"> | ||||||
| 		<XWidgets v-if="widgetsShowing" class="widgetsDrawer"/> | 		<XWidgets v-if="widgetsShowing" class="widgetsDrawer"/> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 
 | 
 | ||||||
| 	<XCommon/> | 	<XCommon/> | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
|  | @ -21,16 +21,16 @@ | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'tray-back' : ''"> | 	<Transition :name="$store.state.animation ? 'tray-back' : ''"> | ||||||
| 		<div | 		<div | ||||||
| 			v-if="showMenu" | 			v-if="showMenu" | ||||||
| 			class="menu-back _modalBg" | 			class="menu-back _modalBg" | ||||||
| 			@click="showMenu = false" | 			@click="showMenu = false" | ||||||
| 			@touchstart.passive="showMenu = false" | 			@touchstart.passive="showMenu = false" | ||||||
| 		></div> | 		></div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| 
 | 
 | ||||||
| 	<transition :name="$store.state.animation ? 'tray' : ''"> | 	<Transition :name="$store.state.animation ? 'tray' : ''"> | ||||||
| 		<div v-if="showMenu" class="menu"> | 		<div v-if="showMenu" class="menu"> | ||||||
| 			<MkA to="/" class="link" active-class="active"><i class="ti ti-home icon"></i>{{ $ts.home }}</MkA> | 			<MkA to="/" class="link" active-class="active"><i class="ti ti-home icon"></i>{{ $ts.home }}</MkA> | ||||||
| 			<MkA to="/explore" class="link" active-class="active"><i class="ti ti-hash icon"></i>{{ $ts.explore }}</MkA> | 			<MkA to="/explore" class="link" active-class="active"><i class="ti ti-hash icon"></i>{{ $ts.explore }}</MkA> | ||||||
|  | @ -41,7 +41,7 @@ | ||||||
| 				<button class="_button" @click="signin()">{{ $ts.login }}</button> | 				<button class="_button" @click="signin()">{{ $ts.login }}</button> | ||||||
| 			</div> | 			</div> | ||||||
| 		</div> | 		</div> | ||||||
| 	</transition> | 	</Transition> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -4,7 +4,7 @@ | ||||||
| 
 | 
 | ||||||
| 	<div class="wbrkwalb"> | 	<div class="wbrkwalb"> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
| 		<transition-group v-else tag="div" :name="$store.state.animation ? 'chart' : ''" class="instances"> | 		<TransitionGroup v-else tag="div" :name="$store.state.animation ? 'chart' : ''" class="instances"> | ||||||
| 			<div v-for="(instance, i) in instances" :key="instance.id" class="instance"> | 			<div v-for="(instance, i) in instances" :key="instance.id" class="instance"> | ||||||
| 				<img :src="getInstanceIcon(instance)" alt=""/> | 				<img :src="getInstanceIcon(instance)" alt=""/> | ||||||
| 				<div class="body"> | 				<div class="body"> | ||||||
|  | @ -13,7 +13,7 @@ | ||||||
| 				</div> | 				</div> | ||||||
| 				<MkMiniChart class="chart" :src="charts[i].requests.received"/> | 				<MkMiniChart class="chart" :src="charts[i].requests.received"/> | ||||||
| 			</div> | 			</div> | ||||||
| 		</transition-group> | 		</TransitionGroup> | ||||||
| 	</div> | 	</div> | ||||||
| </MkContainer> | </MkContainer> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
|  | @ -6,13 +6,13 @@ | ||||||
| 	<div class="ekmkgxbk"> | 	<div class="ekmkgxbk"> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
| 		<div v-else class="feed"> | 		<div v-else class="feed"> | ||||||
| 			<transition name="change" mode="default"> | 			<Transition name="change" mode="default"> | ||||||
| 				<MarqueeText :key="key" :duration="widgetProps.duration" :reverse="widgetProps.reverse"> | 				<MarqueeText :key="key" :duration="widgetProps.duration" :reverse="widgetProps.reverse"> | ||||||
| 					<span v-for="item in items" class="item"> | 					<span v-for="item in items" class="item"> | ||||||
| 						<a class="link" :href="item.link" rel="nofollow noopener" target="_blank" :title="item.title">{{ item.title }}</a><span class="divider"></span> | 						<a class="link" :href="item.link" rel="nofollow noopener" target="_blank" :title="item.title">{{ item.title }}</a><span class="divider"></span> | ||||||
| 					</span> | 					</span> | ||||||
| 				</MarqueeText> | 				</MarqueeText> | ||||||
| 			</transition> | 			</Transition> | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
| </MkContainer> | </MkContainer> | ||||||
|  |  | ||||||
|  | @ -4,7 +4,7 @@ | ||||||
| 
 | 
 | ||||||
| 	<div class="wbrkwala"> | 	<div class="wbrkwala"> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
| 		<transition-group v-else tag="div" :name="$store.state.animation ? 'chart' : ''" class="tags"> | 		<TransitionGroup v-else tag="div" :name="$store.state.animation ? 'chart' : ''" class="tags"> | ||||||
| 			<div v-for="stat in stats" :key="stat.tag"> | 			<div v-for="stat in stats" :key="stat.tag"> | ||||||
| 				<div class="tag"> | 				<div class="tag"> | ||||||
| 					<MkA class="a" :to="`/tags/${ encodeURIComponent(stat.tag) }`" :title="stat.tag">#{{ stat.tag }}</MkA> | 					<MkA class="a" :to="`/tags/${ encodeURIComponent(stat.tag) }`" :title="stat.tag">#{{ stat.tag }}</MkA> | ||||||
|  | @ -12,7 +12,7 @@ | ||||||
| 				</div> | 				</div> | ||||||
| 				<MkMiniChart class="chart" :src="stat.chart"/> | 				<MkMiniChart class="chart" :src="stat.chart"/> | ||||||
| 			</div> | 			</div> | ||||||
| 		</transition-group> | 		</TransitionGroup> | ||||||
| 	</div> | 	</div> | ||||||
| </MkContainer> | </MkContainer> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue