iceshrimp/packages/client/src/components/MkRemoteCaution.vue

26 lines
492 B
Vue
Raw Normal View History

2020-03-21 13:07:02 +09:00
<template>
2022-12-15 05:17:06 +09:00
<div class="jmgmzlwq _block">{{ i18n.ts.remoteUserCaution }}<a class="link" :href="href" rel="nofollow noopener" target="_blank">{{ i18n.ts.showOnRemote }}</a></div>
2020-03-21 13:07:02 +09:00
</template>
2022-01-06 23:10:47 +09:00
<script lang="ts" setup>
2022-07-20 22:24:26 +09:00
import { i18n } from '@/i18n';
2022-01-06 23:10:47 +09:00
defineProps<{
href: string;
}>();
2020-03-21 13:07:02 +09:00
</script>
<style lang="scss" scoped>
.jmgmzlwq {
padding: 16px;
2022-12-15 05:17:06 +09:00
background: var(--infoRemoteBg);
color: var(--fg);
2022-12-13 04:25:28 +09:00
font-size: 0.85rem;
2020-03-21 13:07:02 +09:00
> .link {
2020-03-21 13:07:02 +09:00
margin-left: 4px;
color: var(--accent);
}
}
</style>