mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-23 09:23:50 +01:00
1155dc3995
* update deps
* Revert "fix(MisskeyGateway): 処理をクライアント側で行うように"
This reverts commit 27408b0d19
.
* fix(MisskeyGateway): 処理をクライアント側で行うように(ページで切り分け)
* update deps
* devコマンド時のスタートアップを高速化
47 lines
906 B
Vue
47 lines
906 B
Vue
<template>
|
|
<GMisskeyGateway
|
|
:action="actionConfig"
|
|
:branding="{
|
|
heading: $t('_goToMisskey.heading'),
|
|
icon: WindowIco,
|
|
}"
|
|
></GMisskeyGateway>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import WindowIco from 'bi/window.svg';
|
|
|
|
definePageMeta({
|
|
layout: 'blank',
|
|
});
|
|
|
|
useHead({
|
|
meta: [
|
|
{ name: 'robots', content: 'noindex' },
|
|
],
|
|
});
|
|
|
|
const { meta, query } = useRoute();
|
|
const { t } = useI18n();
|
|
|
|
// 遷移用パス
|
|
const path = computed(() => {
|
|
if (!query.path || query.path.length == 0) return undefined;
|
|
|
|
if (Array.isArray(query.path)) {
|
|
return query.path[0] as string;
|
|
} else {
|
|
return query.path;
|
|
}
|
|
});
|
|
|
|
const actionConfig = computed(() => {
|
|
return {
|
|
type: 'link' as const,
|
|
path: path.value ?? '/',
|
|
};
|
|
});
|
|
|
|
meta.title = t('_goToMisskey.title');
|
|
meta.scrollButton = false;
|
|
</script> |