diff --git a/src/app/components/SpaceRelayStatus.svelte b/src/app/components/SpaceRelayStatus.svelte index f29235d..21d9aaf 100644 --- a/src/app/components/SpaceRelayStatus.svelte +++ b/src/app/components/SpaceRelayStatus.svelte @@ -14,57 +14,57 @@ const owner = $derived($relay?.profile?.pubkey) -
-

- - Relay Status -

-
+
+
+

+ + Relay Details +

- {#if $relay?.profile} - {@const {software, version, supported_nips, limitation} = $relay.profile} -
- {#if owner} -
- Administrator: -
- {/if} - {#if $relay?.profile?.contact} -
- Contact: {$relay.profile.contact} -
- {/if} - {#if software} -
- Software: {software} -
- {/if} - {#if version} -
- Version: {version} -
- {/if} - {#if Array.isArray(supported_nips)} -

- Supported NIPs: {supported_nips.join(", ")} -

- {/if} - {#if limitation?.auth_required} -

- Auth Required -

- {/if} - {#if limitation?.payment_required} -

- Payment Required -

- {/if} - {#if limitation?.min_pow_difficulty} -

- Min PoW: {limitation?.min_pow_difficulty} -

- {/if} -
- {/if}
+ {#if $relay?.profile} + {@const {software, version, supported_nips, limitation} = $relay.profile} +
+ {#if owner} +
+ Administrator: +
+ {/if} + {#if $relay?.profile?.contact} +
+ Contact: {$relay.profile.contact} +
+ {/if} + {#if software} +
+ Software: {software} +
+ {/if} + {#if version} +
+ Version: {version} +
+ {/if} + {#if Array.isArray(supported_nips)} +

+ Supported NIPs: {supported_nips.join(", ")} +

+ {/if} + {#if limitation?.auth_required} +

+ Auth Required +

+ {/if} + {#if limitation?.payment_required} +

+ Payment Required +

+ {/if} + {#if limitation?.min_pow_difficulty} +

+ Min PoW: {limitation?.min_pow_difficulty} +

+ {/if} +
+ {/if}