2022-10-27 13:44:40 +00:00
|
|
|
|
<template>
|
|
|
|
|
<div class="offline">
|
|
|
|
|
<icon-layers fixed-width>
|
2022-12-02 16:17:37 +00:00
|
|
|
|
<icon :icon="faWifi" fixed-width size="xl" />
|
|
|
|
|
<icon :icon="faSlash" fixed-width size="lg" transform="up-2" />
|
2022-10-27 13:44:40 +00:00
|
|
|
|
</icon-layers>
|
|
|
|
|
<span class="text">You’re offline.</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2022-12-02 16:17:37 +00:00
|
|
|
|
import { faSlash, faWifi } from '@fortawesome/free-solid-svg-icons'
|
|
|
|
|
</script>
|
2022-10-27 13:44:40 +00:00
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.offline {
|
|
|
|
|
color: #ed5135;
|
|
|
|
|
width: 144px;
|
|
|
|
|
height: 42px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
position: fixed;
|
|
|
|
|
z-index: 10000;
|
|
|
|
|
left: 1.6rem;
|
|
|
|
|
|
|
|
|
|
bottom: calc(var(--footer-height) + 1.2rem);
|
|
|
|
|
box-shadow: 0 2px 30px rgba(0, 0, 0, .3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text {
|
|
|
|
|
color: #222;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fa-slash {
|
|
|
|
|
filter: drop-shadow(0 2px 0 #fff);
|
|
|
|
|
}
|
|
|
|
|
</style>
|