WIP Render nostr profile and relay status with Ruby
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-18 15:01:08 +02:00
parent 5283f6fce7
commit 6e95fa99df
14 changed files with 161 additions and 126 deletions

View File

@@ -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 %>