mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 10:55:13 +01:00
27 lines
600 B
Vue
27 lines
600 B
Vue
<template>
|
|
<div class="jmgmzlwq"><i class="ti ti-alert-triangle" style="margin-right: 8px;"></i>{{ i18n.ts.remoteUserCaution }}<a class="link" :href="href" rel="nofollow noopener" target="_blank">{{ i18n.ts.showOnRemote }}</a></div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { i18n } from '@/i18n';
|
|
|
|
defineProps<{
|
|
href: string;
|
|
}>();
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.jmgmzlwq {
|
|
font-size: 0.8em;
|
|
padding: 16px;
|
|
background: var(--infoWarnBg);
|
|
color: var(--infoWarnFg);
|
|
border-radius: var(--radius);
|
|
overflow: clip;
|
|
|
|
> .link {
|
|
margin-left: 4px;
|
|
color: var(--accent);
|
|
}
|
|
}
|
|
</style>
|