mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-15 03:23:09 +02:00
9bb6c536c0
* chore(#10336): register snippets * test(#10336): add `components/Mk[A-B].*` stories * build: desynced lockfile * ci(#10336): preload assets * ci(#10336): use pull_request * build: update lockfile * fix: reactivity transform * chore: track upstream changes * refactor: avoid temporary previous tapping declarations * revert: avoid temporary previous tapping declarations This reverts commit e649b1b1e6771bee674f2dfb044e0efd72d0be5d. * test: flaky snapshots * style: import
32 lines
637 B
Vue
32 lines
637 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="username" :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<{
|
|
username: 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>
|