mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-21 18:18:06 +09:00
36 lines
550 B
Vue
36 lines
550 B
Vue
<template>
|
|
<div class="caution _block">
|
|
{{ 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>
|
|
.caution {
|
|
padding: 16px;
|
|
font-size: 90%;
|
|
background: var(--infoWarnBg);
|
|
color: var(--infoWarnFg);
|
|
border-radius: var(--radius);
|
|
|
|
> .link {
|
|
margin-left: 4px;
|
|
color: var(--accent);
|
|
}
|
|
}
|
|
</style>
|