Show socket status on space dashboard

This commit is contained in:
Jon Staab
2025-06-04 20:19:29 -07:00
parent 89c2690254
commit d2b7db18af
3 changed files with 65 additions and 6 deletions
+15
View File
@@ -0,0 +1,15 @@
<script lang="ts">
import type {Snippet} from "svelte"
type Props = {
children: Snippet
class: string
}
const {children, ...props}: Props = $props()
</script>
<div class="flex items-center gap-2">
<div class="h-2 w-2 rounded-full {props.class}"></div>
<span class="text-sm">{@render children()}</span>
</div>