mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 00:43:09 +02:00
33 lines
770 B
Vue
33 lines
770 B
Vue
<!--
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
-->
|
|
|
|
<template>
|
|
<div :class="$style.root"><i class="ph-warning ph-bold ph-lg" style="margin-right: 8px;"></i>{{ i18n.ts.remoteUserCaution }}<a :class="$style.link" :href="href" rel="nofollow noopener" target="_blank">{{ i18n.ts.showOnRemote }}</a></div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { i18n } from '@/i18n.js';
|
|
|
|
defineProps<{
|
|
href: string;
|
|
}>();
|
|
</script>
|
|
|
|
<style lang="scss" module>
|
|
.root {
|
|
font-size: 0.8em;
|
|
padding: 16px;
|
|
background: color-mix(in srgb, var(--infoWarnBg) 65%, transparent);
|
|
color: var(--infoWarnFg);
|
|
border-radius: var(--radius);
|
|
overflow: clip;
|
|
z-index: 1;
|
|
}
|
|
|
|
.link {
|
|
margin-left: 4px;
|
|
color: var(--accent);
|
|
}
|
|
</style>
|