mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-25 18:56:37 +03:00
31 lines
730 B
Vue
31 lines
730 B
Vue
|
<script setup lang="ts">
|
||
|
import type { Account } from 'masto'
|
||
|
|
||
|
defineProps<{
|
||
|
account: 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>
|
||
|
<NuxtLink :to="getAccountRoute(account.moved as any)">
|
||
|
<AccountInfo :account="account.moved" />
|
||
|
</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>
|