tweak relay status component

This commit is contained in:
Jon Staab
2025-06-05 11:49:45 -07:00
parent 8e28ff13e9
commit ac756bf266

View File

@@ -14,13 +14,14 @@
const owner = $derived($relay?.profile?.pubkey)
</script>
<div class="card2 bg-alt">
<h3 class="mb-4 flex items-center gap-2 text-lg font-semibold">
<div class="card2 bg-alt flex flex-col gap-4">
<div class="flex items-center justify-between">
<h3 class="flex items-center gap-2 text-lg font-semibold">
<Icon icon="server" />
Relay Status
Relay Details
</h3>
<div class="flex flex-col gap-3">
<SocketStatusIndicator {url} />
</div>
{#if $relay?.profile}
{@const {software, version, supported_nips, limitation} = $relay.profile}
<div class="flex flex-wrap gap-1">
@@ -67,4 +68,3 @@
</div>
{/if}
</div>
</div>