hippofish/packages/client/src/components/MkRemoteCaution.vue
ThatOneCalculator 20d264227c make icons large
2022-11-06 18:49:47 -08:00

25 lines
560 B
Vue

<template>
<div class="jmgmzlwq _block"><i class="ph-warning-bold ph-lg" style="margin-right: 8px;"></i>{{ 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>
.jmgmzlwq {
font-size: 0.8em;
padding: 16px;
background: var(--infoWarnBg);
color: var(--infoWarnFg);
> .link {
margin-left: 4px;
color: var(--accent);
}
}
</style>