2023-07-27 00:31:52 -05:00
|
|
|
<!--
|
|
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
2020-03-20 23:07:02 -05:00
|
|
|
<template>
|
2023-01-14 02:23:49 -06:00
|
|
|
<div :class="$style.root"><i class="ti ti-alert-triangle" style="margin-right: 8px;"></i>{{ i18n.ts.remoteUserCaution }}<a :class="$style.link" :href="href" rel="nofollow noopener" target="_blank">{{ i18n.ts.showOnRemote }}</a></div>
|
2020-03-20 23:07:02 -05:00
|
|
|
</template>
|
|
|
|
|
2022-01-06 08:10:47 -06:00
|
|
|
<script lang="ts" setup>
|
2022-07-20 08:24:26 -05:00
|
|
|
import { i18n } from '@/i18n';
|
|
|
|
|
2022-01-06 08:10:47 -06:00
|
|
|
defineProps<{
|
|
|
|
href: string;
|
|
|
|
}>();
|
2020-03-20 23:07:02 -05:00
|
|
|
</script>
|
|
|
|
|
2023-01-14 02:23:49 -06:00
|
|
|
<style lang="scss" module>
|
|
|
|
.root {
|
2020-03-20 23:07:02 -05:00
|
|
|
font-size: 0.8em;
|
|
|
|
padding: 16px;
|
2020-11-28 21:46:05 -06:00
|
|
|
background: var(--infoWarnBg);
|
|
|
|
color: var(--infoWarnFg);
|
2023-01-07 02:39:24 -06:00
|
|
|
border-radius: var(--radius);
|
|
|
|
overflow: clip;
|
2023-01-14 02:23:49 -06:00
|
|
|
}
|
2020-03-20 23:07:02 -05:00
|
|
|
|
2023-01-14 02:23:49 -06:00
|
|
|
.link {
|
|
|
|
margin-left: 4px;
|
|
|
|
color: var(--accent);
|
2020-03-20 23:07:02 -05:00
|
|
|
}
|
|
|
|
</style>
|