mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 09:49:05 +01:00
38 lines
764 B
Vue
38 lines
764 B
Vue
<template>
|
|
<div class="jmgmzlwq _block"><Fa :icon="faExclamationTriangle" style="margin-right: 8px;"/>{{ $ts.remoteUserCaution }}<a :href="href" rel="nofollow noopener" target="_blank">{{ $ts.showOnRemote }}</a></div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
import * as os from '@client/os';
|
|
|
|
export default defineComponent({
|
|
props: {
|
|
href: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
faExclamationTriangle
|
|
};
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.jmgmzlwq {
|
|
font-size: 0.8em;
|
|
padding: 16px;
|
|
background: var(--infoWarnBg);
|
|
color: var(--infoWarnFg);
|
|
|
|
> a {
|
|
margin-left: 4px;
|
|
color: var(--accent);
|
|
}
|
|
}
|
|
</style>
|