iceshrimp/packages/client/src/components/MkMoved.vue

32 lines
597 B
Vue
Raw Normal View History

<template>
2022-12-07 13:12:44 +09:00
<div class="_block msjugskdqo">
<i class="ph-airplane-takeoff-bold ph-lg" style="margin-right: 8px;"/>
{{ i18n.ts.accountMoved }}
<MkMention :class="$style.link" class="link" :username="acct" :host="host"/>
</div>
</template>
<script lang="ts" setup>
2022-12-07 09:43:16 +09:00
import MkMention from './MkMention.vue';
2022-12-07 13:12:44 +09:00
import { i18n } from '@/i18n';
defineProps<{
acct: string;
2022-12-07 09:43:16 +09:00
host: string;
}>();
</script>
2022-12-07 08:54:06 +09:00
<style lang="scss" module>
2022-12-07 13:12:44 +09:00
.msjugskdqo {
font-size: 0.8em;
padding: 16px;
background: var(--infoBg);
color: var(--infoFg);
2022-12-07 13:12:44 +09:00
> .link {
margin-left: 4px;
color: var(--accent);
}
}
</style>