initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
const { hasTasks } = useTasks()
|
||||
const { open } = useSettings()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ClientOnly>
|
||||
<Teleport :to="open ? '#settings-loader-target' : '#primary-loader-target'">
|
||||
<Icon name="svg-spinners:ring-resize"
|
||||
:class="['text-[var(--color-accent)] text-4', hasTasks ? 'opacity-100' : 'opacity-0']" />
|
||||
</Teleport>
|
||||
</ClientOnly>
|
||||
</template>
|
||||
Reference in New Issue
Block a user