Skip to content

Commit f199a13

Browse files
add view profile
1 parent 73b0710 commit f199a13

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

profile.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,10 +1292,14 @@ <h2 class="text-2xl font-bold text-gray-800 mb-6">
12921292
</button>
12931293
<button
12941294
type="button"
1295-
class="px-6 py-2 bg-red-100 border border-red-300 text-red-700 rounded-lg shadow hover:shadow-lg transition-all"
1296-
onClick=${this.handleLogout.bind(this)}
1295+
class="px-6 py-2 bg-blue-100 border border-blue-300 text-blue-700 rounded-lg shadow hover:shadow-lg transition-all"
1296+
onClick=${() =>
1297+
window.open(
1298+
`https://nostr.social/profile/${profile.pubkey}`,
1299+
'_blank'
1300+
)}
12971301
>
1298-
Logout
1302+
View Profile
12991303
</button>
13001304
</div>
13011305
</div>

0 commit comments

Comments
 (0)