2022-12-05 02:28:22 +09:00
|
|
|
<script setup lang="ts">
|
2023-01-08 15:21:09 +09:00
|
|
|
import type { mastodon } from 'masto'
|
2022-12-05 02:28:22 +09:00
|
|
|
|
|
|
|
defineProps<{
|
2023-01-08 15:21:09 +09:00
|
|
|
account: mastodon.v1.Account
|
2022-12-05 02:28:22 +09:00
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div flex="~ col gap-2" p4>
|
|
|
|
<div flex="~ gap-1" justify-center>
|
|
|
|
<AccountInlineInfo :account="account" :link="false" />
|
|
|
|
{{ $t('account.moved_title') }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div flex>
|
2023-01-08 15:21:09 +09:00
|
|
|
<NuxtLink :to="getAccountRoute(account.moved!)">
|
|
|
|
<AccountInfo :account="account.moved!" />
|
2022-12-05 02:28:22 +09:00
|
|
|
</NuxtLink>
|
|
|
|
<div flex-auto />
|
|
|
|
<div flex items-center>
|
|
|
|
<NuxtLink :to="getAccountRoute(account.moved as any)">
|
|
|
|
<button btn-solid h-fit>
|
|
|
|
{{ $t('account.go_to_profile') }}
|
|
|
|
</button>
|
|
|
|
</NuxtLink>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|