1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-15 21:39:58 +00:00
elk/components/account/AccountMoved.vue

29 lines
710 B
Vue
Raw Normal View History

<script setup lang="ts">
2023-01-08 06:21:09 +00:00
import type { mastodon } from 'masto'
defineProps<{
2023-01-08 06:21:09 +00:00
account: mastodon.v1.Account
}>()
</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 06:21:09 +00:00
<NuxtLink :to="getAccountRoute(account.moved!)">
<AccountInfo :account="account.moved!" />
</NuxtLink>
<div flex-auto />
<div flex items-center>
<NuxtLink :to="getAccountRoute(account.moved as any)" btn-solid inline-block h-fit>
{{ $t('account.go_to_profile') }}
</NuxtLink>
</div>
</div>
</div>
</template>