mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-05 03:59:59 +03:00
96775ebcf3
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
17 lines
327 B
Vue
17 lines
327 B
Vue
<script setup lang="ts">
|
|
defineProps<{
|
|
smallScreen: boolean
|
|
}>()
|
|
const online = useOnline()
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
v-if="!online"
|
|
w-full min-h-30px px4 py3 text-primary bg-base
|
|
border="t base" flex="~ gap-2 center"
|
|
>
|
|
<div i-ri:wifi-off-line />
|
|
{{ $t('common.offline_desc') }}
|
|
</div>
|
|
</template>
|