diff --git a/src/app/components/AppContainer.svelte b/src/app/components/AppContainer.svelte index f9176376..b3584f22 100644 --- a/src/app/components/AppContainer.svelte +++ b/src/app/components/AppContainer.svelte @@ -3,6 +3,7 @@ import Dialog from "@lib/components/Dialog.svelte" import Landing from "@app/components/Landing.svelte" import Toast from "@app/components/Toast.svelte" + import CallBanner from "@app/components/CallBanner.svelte" import PrimaryNav from "@app/components/PrimaryNav.svelte" import {app} from "@app/core" import {modal} from "@app/modal" @@ -14,13 +15,16 @@ const {children}: Props = $props() -
- {#if $app.user?.pubkey} - - {@render children?.()} - - {:else if !$modal} - - {/if} +
+
+ {#if $app.user?.pubkey} + + {@render children?.()} + + {:else if !$modal} + + {/if} +
+
diff --git a/src/app/components/CallBanner.svelte b/src/app/components/CallBanner.svelte new file mode 100644 index 00000000..b732f801 --- /dev/null +++ b/src/app/components/CallBanner.svelte @@ -0,0 +1,97 @@ + + +{#if visible} +
+ +
+ {#if $callState === CallState.Connected} + + {/if} + +
+
+{/if}