From d26a142d828820cae0ed808459e889ef616cb8c0 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 16 Apr 2024 11:05:14 -0700 Subject: links and details --- .../(app)/[username]/(profile)/+layout.svelte | 128 +++++++++++---------- 1 file changed, 65 insertions(+), 63 deletions(-) (limited to 'src/routes') diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index 0520f1b8..2822fe80 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -97,6 +97,7 @@ {/if} +
+ +
+ + {#if showDetails} +
+
+
{$t("user.profilePage")}
+
+
+
+
{$t("user.lightningAddress")}
+
+
+ {lnaddr} +
+
+ + + + +
+
+
+
+
{$t("user.nostrPubkey")}
+
+
+ {npub} +
+
+ + + + +
+
+
+
+ {/if} +
{#if user && user.username !== subject.username && subject.pubkey} {#if following} @@ -168,17 +233,6 @@ {/if} - {#if user?.username !== subject.username} - - {/if} - {#if user?.admin && user.username !== subject.username}
@@ -194,58 +248,6 @@
{/if}
- {#if showDetails} -
-
-
{$t("user.profilePage")}
-
-
- {profile} -
-
- - - - -
-
-
-
-
{$t("user.lightningAddress")}
-
-
- {lnaddr} -
-
- - - - -
-
-
-
-
{$t("user.nostrPubkey")}
-
-
- {npub} -
-
- - - - -
-
-
-
- {/if}
-- cgit v1.2.3