2022-11-30 20:26:13 +01:00
|
|
|
<template>
|
2022-12-07 01:43:16 +01:00
|
|
|
<div class="_block" :class="$style.mkmoved"><i class="fas fa-info-circle" style="margin-right: 8px;"></i>{{ i18n.ts.accountMoved }}<MkMention :class="$style.link" class="link" :username="acct" :host="host"/></div>
|
2022-11-30 20:26:13 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { i18n } from '@/i18n';
|
2022-12-07 01:43:16 +01:00
|
|
|
import MkMention from './MkMention.vue';
|
2022-11-30 20:26:13 +01:00
|
|
|
const props = defineProps<{
|
|
|
|
acct: string;
|
2022-12-07 01:43:16 +01:00
|
|
|
host: string;
|
2022-11-30 20:26:13 +01:00
|
|
|
}>();
|
|
|
|
const href = $computed(() => `/${props.acct}`);
|
|
|
|
</script>
|
|
|
|
|
2022-12-07 00:54:06 +01:00
|
|
|
<style lang="scss" module>
|
2022-11-30 20:26:13 +01:00
|
|
|
.mkmoved {
|
|
|
|
font-size: 0.8em;
|
|
|
|
padding: 16px;
|
|
|
|
background: var(--infoBg);
|
|
|
|
color: var(--infoFg);
|
|
|
|
> .link {
|
|
|
|
margin-left: 4px;
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|