diff options
| author | Adrien Hopkins <[email protected]> | 2025-08-26 08:31:34 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2025-08-26 08:31:34 -0500 |
| commit | f7886a3bd35a2ec47ac7f66bf89cf59d1221eb56 (patch) | |
| tree | 9aab7219a04b5d180d279f56de36a52d0ccc50e0 /src | |
| parent | fdc035a8c5a64c47169c495d7f81bd0ab7643fb9 (diff) | |
| download | coinos-ui-f7886a3bd35a2ec47ac7f66bf89cf59d1221eb56.tar.gz coinos-ui-f7886a3bd35a2ec47ac7f66bf89cf59d1221eb56.zip | |
Add basic messaging UI
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+layout.svelte | 6 | ||||
| -rw-r--r-- | src/routes/(app)/dm/[recipient]/+page.svelte | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index 2e6657bd..8ce4150c 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -141,7 +141,11 @@ ></iconify-icon> </a> {:else} - <a href="/dm/{subject.username}" class="btn contents"> + <a + href="/dm/{subject.username}" + class="btn contents" + aria-label="Direct Message" + > <iconify-icon noobserver icon="ph:chat-bold" width="32" ></iconify-icon> </a> diff --git a/src/routes/(app)/dm/[recipient]/+page.svelte b/src/routes/(app)/dm/[recipient]/+page.svelte index fd539d12..78146494 100644 --- a/src/routes/(app)/dm/[recipient]/+page.svelte +++ b/src/routes/(app)/dm/[recipient]/+page.svelte @@ -3,7 +3,6 @@ import Icon from "$comp/Icon.svelte"; </script> - <div class="container"> <a class="hover:opacity-80" @@ -16,5 +15,9 @@ <div class="space-y-2 mx-auto space-y-5 lg:max-w-xl xl:max-w-2xl lg:pl-10 mt-5 lg:mt-0"> <h1>Nostr Direct Messages</h1> <p>You are sending messages to {data.recipient}.</p> + + <textarea id="message-contents"></textarea> + + <input type="button" class="btn" value="Send Message"> </div> </div> |
