2023-04-08 07:16:26 +02:00
|
|
|
<template>
|
2023-04-08 07:32:21 +02:00
|
|
|
<div :class="$style.root">
|
2023-04-08 07:16:26 +02:00
|
|
|
<i class="ti ti-plane-departure" style="margin-right: 8px;"></i>
|
|
|
|
{{ i18n.ts.accountMoved }}
|
2023-04-13 05:20:39 +02:00
|
|
|
<MkMention :class="$style.link" :username="username" :host="host ?? localHost"/>
|
2023-04-08 07:16:26 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import MkMention from './MkMention.vue';
|
|
|
|
import { i18n } from '@/i18n';
|
|
|
|
import { host as localHost } from '@/config';
|
|
|
|
|
|
|
|
defineProps<{
|
2023-04-13 05:20:39 +02:00
|
|
|
username: string;
|
2023-04-08 07:16:26 +02:00
|
|
|
host: string;
|
|
|
|
}>();
|
|
|
|
</script>
|
|
|
|
|
2023-04-08 07:32:21 +02:00
|
|
|
<style lang="scss" module>
|
|
|
|
.root {
|
2023-04-08 07:16:26 +02:00
|
|
|
padding: 16px;
|
|
|
|
font-size: 90%;
|
|
|
|
background: var(--infoWarnBg);
|
|
|
|
color: var(--error);
|
|
|
|
border-radius: var(--radius);
|
2023-04-08 07:32:21 +02:00
|
|
|
}
|
2023-04-08 07:16:26 +02:00
|
|
|
|
2023-04-08 07:32:21 +02:00
|
|
|
.link {
|
|
|
|
margin-left: 4px;
|
2023-04-08 07:16:26 +02:00
|
|
|
}
|
|
|
|
</style>
|