mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-17 08:09:14 +09:00
33 lines
629 B
Vue
33 lines
629 B
Vue
<template>
|
|
<div :class="$style.root">
|
|
<i class="ti ti-plane-departure" style="margin-right: 8px;"></i>
|
|
{{ i18n.ts.accountMoved }}
|
|
<MkMention :class="$style.link" :username="acct" :host="host ?? localHost"/>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import MkMention from './MkMention.vue';
|
|
import { i18n } from '@/i18n';
|
|
import { host as localHost } from '@/config';
|
|
|
|
defineProps<{
|
|
acct: string;
|
|
host: string;
|
|
}>();
|
|
</script>
|
|
|
|
<style lang="scss" module>
|
|
.root {
|
|
padding: 16px;
|
|
font-size: 90%;
|
|
background: var(--infoWarnBg);
|
|
color: var(--error);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.link {
|
|
margin-left: 4px;
|
|
}
|
|
</style>
|