diff --git a/src/lib/components/ChatLayout.svelte b/src/lib/components/ChatLayout.svelte index bba0027..28f32a7 100644 --- a/src/lib/components/ChatLayout.svelte +++ b/src/lib/components/ChatLayout.svelte @@ -7,6 +7,7 @@ CircleQuestionSolid, FaucetSolid, GearSolid, + GhostSolid, ListCheckSolid, PodcastSolid } from 'svelte-awesome-icons'; @@ -60,6 +61,7 @@ >
+
diff --git a/src/lib/components/MessageInput.svelte b/src/lib/components/MessageInput.svelte index 447f942..d407a7d 100644 --- a/src/lib/components/MessageInput.svelte +++ b/src/lib/components/MessageInput.svelte @@ -1,4 +1,7 @@
@@ -63,6 +66,8 @@ export let selected = true class="resize-none block mx-4 p-2.5 w-full h-full text-sm text-gray-900 bg-white rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-800 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Start typing..." > +
+
+
diff --git a/src/lib/ndk/Login.svelte b/src/lib/ndk/Login.svelte index ee3da4a..39d550d 100644 --- a/src/lib/ndk/Login.svelte +++ b/src/lib/ndk/Login.svelte @@ -5,7 +5,7 @@ import { get } from 'svelte/store'; import { connect, currentUser, ndk } from './ndk'; import Button from '@/components/Button.svelte'; - import { KeySolid } from 'svelte-awesome-icons'; + import { KeySolid, UserAstronautSolid } from 'svelte-awesome-icons'; onMount(() => { connect(); @@ -153,4 +153,4 @@ } - \ No newline at end of file + \ No newline at end of file diff --git a/src/lib/views/messages/Messages.svelte b/src/lib/views/messages/Messages.svelte index 082e43c..e00a26f 100644 --- a/src/lib/views/messages/Messages.svelte +++ b/src/lib/views/messages/Messages.svelte @@ -3,20 +3,19 @@ import ChatLayout from '@/components/ChatLayout.svelte'; import Coracle from '@/components/Coracle.svelte'; import MessageInput from '@/components/MessageInput.svelte'; + import Input from '@/components/ui/input/input.svelte'; + import { currentUser, ndk } from '@/ndk/ndk'; import { PushEvent, FrontendDataStore as feds, viewed } from '@/snort_workers/main'; + import { updateRepliesInPlace } from '@/snort_workers/utils'; + import { NDKEvent } from '@nostr-dev-kit/ndk'; import { RequestBuilder, type QueryLike } from '@snort/system'; + import { BloomFilter } from 'bloomfilter'; import type { NostrEvent } from 'nostr-tools'; import { ArrowTurnUpSolid } from 'svelte-awesome-icons'; import { derived, writable, type Writable } from 'svelte/store'; import RenderKind1 from './RenderKind1.svelte'; import RenderKind1AsThreadHead from './RenderKind1AsThreadHead.svelte'; import { System } from './snort'; - import { updateRepliesInPlace } from '@/snort_workers/utils'; - import Login from '@/ndk/Login.svelte'; - import { currentUser, ndk } from '@/ndk/ndk'; - import Input from '@/components/ui/input/input.svelte'; - import { BloomFilter } from 'bloomfilter'; - import { NDKEvent } from '@nostr-dev-kit/ndk'; let localEvents = writable(new Map());