diff --git a/src/lib/components/MobileNav.svelte b/src/lib/components/MobileNav.svelte new file mode 100644 index 00000000000..cc68d0ef193 --- /dev/null +++ b/src/lib/components/MobileNav.svelte @@ -0,0 +1,60 @@ + + + + diff --git a/src/lib/components/NavMenu.svelte b/src/lib/components/NavMenu.svelte new file mode 100644 index 00000000000..e3070d48a60 --- /dev/null +++ b/src/lib/components/NavMenu.svelte @@ -0,0 +1,84 @@ + + +
+ + New Chat + +
+
+ {#each conversations as conv} + +
{conv.title}
+ + + + +
+ {/each} +
+
+ + + Community feedback + + + Settings + +
diff --git a/src/lib/components/chat/ChatWindow.svelte b/src/lib/components/chat/ChatWindow.svelte index 3d53fb3b0b2..2c03e4ad7c4 100644 --- a/src/lib/components/chat/ChatWindow.svelte +++ b/src/lib/components/chat/ChatWindow.svelte @@ -20,12 +20,7 @@ const dispatch = createEventDispatcher<{ message: string; share: void }>(); -
- +
+ (isNavOpen = ev.detail)} + title={data.conversations.find((conv) => conv.id === $page.params.id)?.title} + > + shareConversation(ev.detail.id, ev.detail.title)} + on:deleteConversation={(ev) => deleteConversation(ev.detail)} + /> +