WIP Render nostr profile and relay status with Ruby
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
15
app/views/settings/_nostr_user_relays.html.erb
Normal file
15
app/views/settings/_nostr_user_relays.html.erb
Normal 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 %>
|
||||
Reference in New Issue
Block a user