misskey/packages/client/src/components/remote-caution.vue
2022-01-06 23:10:47 +09:00

23 lines
509 B
Vue

<template>
<div class="jmgmzlwq _block"><i class="fas fa-exclamation-triangle" style="margin-right: 8px;"></i>{{ $ts.remoteUserCaution }}<a :href="href" rel="nofollow noopener" target="_blank">{{ $ts.showOnRemote }}</a></div>
</template>
<script lang="ts" setup>
defineProps<{
href: string;
}>();
</script>
<style lang="scss" scoped>
.jmgmzlwq {
font-size: 0.8em;
padding: 16px;
background: var(--infoWarnBg);
color: var(--infoWarnFg);
> a {
margin-left: 4px;
color: var(--accent);
}
}
</style>