partey_workadventure/front/src/Components/Video/VideoOverlay.svelte

24 lines
553 B
Svelte
Raw Normal View History

<script lang="ts">
2021-06-15 17:30:28 +02:00
import {LayoutMode} from "../../WebRtc/LayoutManager";
import {layoutModeStore} from "../../Stores/LayoutStore";
import PresentationLayout from "./PresentationLayout.svelte";
import ChatLayout from "./ChatLayout.svelte";
</script>
<div class="video-overlay">
2021-06-15 17:30:28 +02:00
{#if $layoutModeStore === LayoutMode.Presentation }
<PresentationLayout />
{:else }
<ChatLayout />
{/if}
</div>
<style lang="scss">
.video-overlay {
display: flex;
width: 100%;
height: 100%;
}
</style>