tweak relay status component
This commit is contained in:
parent
8e28ff13e9
commit
ac756bf266
1 changed files with 51 additions and 51 deletions
|
|
@ -14,13 +14,14 @@
|
||||||
const owner = $derived($relay?.profile?.pubkey)
|
const owner = $derived($relay?.profile?.pubkey)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="card2 bg-alt">
|
<div class="card2 bg-alt flex flex-col gap-4">
|
||||||
<h3 class="mb-4 flex items-center gap-2 text-lg font-semibold">
|
<div class="flex items-center justify-between">
|
||||||
|
<h3 class="flex items-center gap-2 text-lg font-semibold">
|
||||||
<Icon icon="server" />
|
<Icon icon="server" />
|
||||||
Relay Status
|
Relay Details
|
||||||
</h3>
|
</h3>
|
||||||
<div class="flex flex-col gap-3">
|
|
||||||
<SocketStatusIndicator {url} />
|
<SocketStatusIndicator {url} />
|
||||||
|
</div>
|
||||||
{#if $relay?.profile}
|
{#if $relay?.profile}
|
||||||
{@const {software, version, supported_nips, limitation} = $relay.profile}
|
{@const {software, version, supported_nips, limitation} = $relay.profile}
|
||||||
<div class="flex flex-wrap gap-1">
|
<div class="flex flex-wrap gap-1">
|
||||||
|
|
@ -67,4 +68,3 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue