2022-04-16 04:17:48 +03:00
|
|
|
<script>
|
2022-04-23 01:06:04 +03:00
|
|
|
import ChannelTopBar from "./ChannelTopBar.svelte";
|
|
|
|
import MessageInput from "./MessageInput.svelte";
|
2022-04-20 03:44:48 +03:00
|
|
|
import Messages from "./Messages.svelte";
|
2022-04-17 04:08:40 +03:00
|
|
|
|
|
|
|
export let channel;
|
2022-04-16 04:17:48 +03:00
|
|
|
</script>
|
|
|
|
|
2022-04-15 02:39:13 +03:00
|
|
|
<style>
|
|
|
|
.main-container {
|
2022-04-22 23:01:44 +03:00
|
|
|
background-color: var(--background-color-1);
|
|
|
|
overflow: hidden;
|
2022-04-15 02:39:13 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2022-04-27 17:08:32 +03:00
|
|
|
<div class="main-container">
|
2022-04-23 01:06:04 +03:00
|
|
|
<ChannelTopBar channel={ channel } />
|
2022-04-20 03:14:28 +03:00
|
|
|
<Messages channelId="{ channel.id }" />
|
2022-04-23 01:06:04 +03:00
|
|
|
<MessageInput channel={ channel } />
|
2022-04-15 02:39:13 +03:00
|
|
|
</div>
|