mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-11 11:27:03 +00:00
Format
This commit is contained in:
@@ -161,7 +161,8 @@
|
|||||||
<ChatMessage {event} {thunk} {pubkeys} {showPubkey} />
|
<ChatMessage {event} {thunk} {pubkeys} {showPubkey} />
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
<p class="flex flex-col gap-4 max-w-sm m-auto text-center h-10 items-center justify-center py-20">
|
<p
|
||||||
|
class="m-auto flex h-10 max-w-sm flex-col items-center justify-center gap-4 py-20 text-center">
|
||||||
<Spinner {loading}>
|
<Spinner {loading}>
|
||||||
{#if loading}
|
{#if loading}
|
||||||
Looking for messages...
|
Looking for messages...
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
$: failure = Object.entries($status).find(([url, s]) => [Failure, Timeout].includes(s.status))
|
$: failure = Object.entries($status).find(([url, s]) => [Failure, Timeout].includes(s.status))
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex justify-end text-xs px-1">
|
<div class="flex justify-end px-1 text-xs">
|
||||||
{#if canCancel || isPending}
|
{#if canCancel || isPending}
|
||||||
<span class="mt-2 flex items-center gap-1">
|
<span class="mt-2 flex items-center gap-1">
|
||||||
<span class="loading loading-spinner mx-1 h-3 w-3 translate-y-px" />
|
<span class="loading loading-spinner mx-1 h-3 w-3 translate-y-px" />
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {pubkey} from "@welshman/app"
|
import {pubkey} from "@welshman/app"
|
||||||
import Page from '@lib/components/Page.svelte'
|
import Page from "@lib/components/Page.svelte"
|
||||||
import Chat from "@app/components/Chat.svelte"
|
import Chat from "@app/components/Chat.svelte"
|
||||||
|
|
||||||
$: id = $pubkey!
|
$: id = $pubkey!
|
||||||
@@ -9,8 +9,8 @@
|
|||||||
<Page>
|
<Page>
|
||||||
<Chat {id}>
|
<Chat {id}>
|
||||||
<p slot="info">
|
<p slot="info">
|
||||||
This is a place for your notes. Everything you write here is encrypted
|
This is a place for your notes. Everything you write here is encrypted and stored on the nostr
|
||||||
and stored on the nostr network.
|
network.
|
||||||
</p>
|
</p>
|
||||||
</Chat>
|
</Chat>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -56,14 +56,14 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{#each sortBy(e => -e.created_at, $replies) as reply (reply.id)}
|
{#each sortBy(e => -e.created_at, $replies) as reply (reply.id)}
|
||||||
<NoteCard event={reply} class="card2 bg-alt z-feature w-full">
|
<NoteCard event={reply} class="card2 bg-alt z-feature w-full">
|
||||||
<div class="ml-12 col-3">
|
<div class="col-3 ml-12">
|
||||||
<Content event={reply} />
|
<Content event={reply} />
|
||||||
<ThreadActions event={reply} {url} />
|
<ThreadActions event={reply} {url} />
|
||||||
</div>
|
</div>
|
||||||
</NoteCard>
|
</NoteCard>
|
||||||
{/each}
|
{/each}
|
||||||
<NoteCard event={$event} class="card2 bg-alt z-feature w-full">
|
<NoteCard event={$event} class="card2 bg-alt z-feature w-full">
|
||||||
<div class="ml-12 col-3">
|
<div class="col-3 ml-12">
|
||||||
<Content event={$event} />
|
<Content event={$event} />
|
||||||
<ThreadActions event={$event} {url} />
|
<ThreadActions event={$event} {url} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user