diff --git a/src/lib/assets/icons/contact/IconEmail.svg b/src/lib/assets/icons/contact/IconEmail.svg
new file mode 100644
index 00000000..1c1a1f88
--- /dev/null
+++ b/src/lib/assets/icons/contact/IconEmail.svg
@@ -0,0 +1,12 @@
+
diff --git a/src/lib/assets/icons/contact/IconSocialDiscordInverse.svg b/src/lib/assets/icons/contact/IconSocialDiscordInverse.svg
new file mode 100644
index 00000000..fd9b9692
--- /dev/null
+++ b/src/lib/assets/icons/contact/IconSocialDiscordInverse.svg
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/src/lib/components/Browse/CreateChannelDrawer.svelte b/src/lib/components/Browse/CreateChannelDrawer.svelte
index bf78f718..aa219e4d 100644
--- a/src/lib/components/Browse/CreateChannelDrawer.svelte
+++ b/src/lib/components/Browse/CreateChannelDrawer.svelte
@@ -62,7 +62,6 @@
const addChannel = async () => {
const channel = await post('/channel', newChannel)
await put(`/users/host-channels?hostChannelId=${channel._id}`)
- //TODO: set currentChannel
goto(`/channel/${channel._id}`)
}
@@ -92,7 +91,7 @@
Please hide all sensitive data before going live.
-
+
- import { onMount } from 'svelte'
import ChatInput from '$lib/components/Chat/ChatInput.svelte'
import ChatMessage from '$lib/components/Chat/ChatMessage.svelte'
- export let showDrawer: boolean
- export let channel: any = undefined
-
- let username = 'Gagan',
- message =
- 'Hello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello World',
- role = 'Host'
- let sender = { username, message, role }
- let youSender = { username: 'Singh', message: 'hewrewrwe ehe', role: 'You' }
- let modSender = { username: 'Simmi', message: 'hewe rew rwe rwhe', role: 'Mod' }
- let otherSender = { username: 'Arjan', message: 'he wer wer wehe', role: 'Rando' }
-
- onMount(async () => {
- // if (!$tags.length) {
- // await getTags()
- // }
- })
-
- const sendMessage = async () => {
- // await createChannel(newChannel)
- }
+ export let showDrawer: boolean,
+ channel: any = undefined,
+ chatHistory: any = []
@@ -35,51 +16,11 @@
{channel.title || 'Chat'}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ {#each chatHistory as sender}
+
+ {/each}
-
diff --git a/src/lib/components/Chat/ChatInput.svelte b/src/lib/components/Chat/ChatInput.svelte
index c5b30ed5..6faf97b2 100644
--- a/src/lib/components/Chat/ChatInput.svelte
+++ b/src/lib/components/Chat/ChatInput.svelte
@@ -1,14 +1,17 @@