📦 Moves statusbar to own component

This commit is contained in:
Rune Harlyk
2024-08-19 20:08:10 +02:00
committed by Rune Harlyk
parent 904a1c5852
commit 9978918bf9
16 changed files with 296 additions and 273 deletions
@@ -0,0 +1,10 @@
<script lang="ts">
import { mode, modes } from "$lib/stores";
const deactivate = async () => {
mode.set(modes.indexOf('deactivated'));
};
</script>
<button on:click={deactivate} class="bg-error text-white btn rounded-none">STOP</button>