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

36 lines
552 B
Vue
Raw Normal View History

2020-03-21 04:07:02 +00:00
<template>
2023-04-08 00:01:42 +00: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 04:07:02 +00:00
</template>
2022-01-06 14:10:47 +00:00
<script lang="ts" setup>
2023-04-08 00:01:42 +00:00
import { i18n } from "@/i18n";
2022-07-20 13:24:26 +00:00
2022-01-06 14:10:47 +00:00
defineProps<{
href: string;
}>();
2020-03-21 04:07:02 +00:00
</script>
<style lang="scss" scoped>
2022-12-16 18:36:53 +00:00
.jmgmzlwq {
2020-03-21 04:07:02 +00:00
padding: 16px;
2022-12-16 18:21:10 +00:00
font-size: 90%;
background: var(--infoWarnBg);
color: var(--infoWarnFg);
border-radius: var(--radius);
2020-03-21 04:07:02 +00:00
> .link {
2020-03-21 04:07:02 +00:00
margin-left: 4px;
color: var(--accent);
}
}
</style>