diff --git a/apps/stage-pocket/src/components/websocket-status-button.vue b/apps/stage-pocket/src/components/websocket-status-button.vue new file mode 100644 index 000000000..20a19217a --- /dev/null +++ b/apps/stage-pocket/src/components/websocket-status-button.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/apps/stage-pocket/src/pages/index.vue b/apps/stage-pocket/src/pages/index.vue index f7f35e97e..ac6d9e317 100644 --- a/apps/stage-pocket/src/pages/index.vue +++ b/apps/stage-pocket/src/pages/index.vue @@ -23,6 +23,8 @@ import { breakpointsTailwind, useBreakpoints, useMouse } from '@vueuse/core' import { storeToRefs } from 'pinia' import { computed, onMounted, onUnmounted, ref, useTemplateRef, watch } from 'vue' +import WebSocketStatusButton from '../components/websocket-status-button.vue' + const paused = ref(false) function handleSettingsOpen(open: boolean) { @@ -181,6 +183,7 @@ watch([stream, () => vadLoaded.value], async ([s, loaded]) => { :top-color="sampledColor" >
+