rudeshark.net/packages/client/src/components/MkMoved.vue

36 lines
621 B
Vue
Raw Normal View History

<template>
2023-04-08 02:01:42 +02:00
<div class="msjugskd _block">
<i
class="ph-airplane-takeoff ph-bold ph-lg"
style="margin-right: 8px"
/>
{{ i18n.ts.accountMoved }}
<MkMention class="link" :username="acct" :host="host" />
</div>
</template>
<script lang="ts" setup>
2023-04-08 02:01:42 +02:00
import MkMention from "./MkMention.vue";
import { i18n } from "@/i18n";
2022-12-07 05:12:44 +01:00
defineProps<{
acct: string;
2022-12-07 01:43:16 +01:00
host: string;
}>();
</script>
2022-12-10 19:56:45 +01:00
<style lang="scss" scoped>
.msjugskd {
padding: 16px;
2022-12-16 19:21:10 +01:00
font-size: 90%;
2022-12-10 19:56:45 +01:00
background: var(--infoWarnBg);
2022-12-16 23:52:43 +01:00
color: var(--error);
2022-12-16 19:21:10 +01:00
border-radius: var(--radius);
2022-12-07 05:12:44 +01:00
> .link {
margin-left: 4px;
color: var(--accent);
}
}
</style>