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

33 lines
607 B
Vue
Raw Normal View History

<template>
2022-12-11 03:56:45 +09:00
<div class="msjugskd _block">
2023-03-12 06:01:04 +09:00
<i class="ph-airplane-takeoff ph-bold ph-lg" style="margin-right: 8px;"/>
2022-12-07 13:12:44 +09:00
{{ i18n.ts.accountMoved }}
2022-12-11 03:56:45 +09:00
<MkMention class="link" :username="acct" :host="host"/>
2022-12-07 13:12:44 +09:00
</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-11 03:56:45 +09:00
<style lang="scss" scoped>
.msjugskd {
padding: 16px;
2022-12-17 03:21:10 +09:00
font-size: 90%;
2022-12-11 03:56:45 +09:00
background: var(--infoWarnBg);
2022-12-17 07:52:43 +09:00
color: var(--error);
2022-12-17 03:21:10 +09:00
border-radius: var(--radius);
2022-12-07 13:12:44 +09:00
> .link {
margin-left: 4px;
color: var(--accent);
}
}
</style>