WIP Render nostr profile and relay status with Ruby
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<%= turbo_frame_tag "nostr_user_metadata" do %>
|
||||
<section>
|
||||
<h3>Profile</h3>
|
||||
<%= render Settings::NostrProfileStatusComponent.new(
|
||||
profile_event: @profile,
|
||||
user_address: current_user.address
|
||||
) %>
|
||||
</section>
|
||||
<section>
|
||||
<h3>Relays</h3>
|
||||
<%= render Settings::NostrRelayStatusComponent.new(
|
||||
relay_urls: @relay_urls
|
||||
) %>
|
||||
</section>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user