egirlskey/packages/client/src/components/remote-caution.vue

24 lines
509 B
Vue
Raw Normal View History

2020-03-21 04:07:02 +00:00
<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>
2020-03-21 04:07:02 +00:00
</template>
2022-01-06 14:10:47 +00:00
<script lang="ts" setup>
defineProps<{
href: string;
}>();
2020-03-21 04:07:02 +00:00
</script>
<style lang="scss" scoped>
.jmgmzlwq {
font-size: 0.8em;
padding: 16px;
2020-11-29 03:46:05 +00:00
background: var(--infoWarnBg);
color: var(--infoWarnFg);
2020-03-21 04:07:02 +00:00
> a {
margin-left: 4px;
color: var(--accent);
}
}
</style>