<%= render HeaderComponent.new(title: "Storage") %>

<%= render MainSimpleComponent.new do %>
  <section>
    <h3 class="mb-10">Connected Apps</h3>
    <% if @rs_auths.any? %>
    <div class="w-full grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-y-10 gap-x-12">
    <% @rs_auths.each do |auth| %>
      <%= render RsAuthComponent.new(auth: auth) %>
    <% end %>
    </div>
    <% else %>
    <p>No apps connected yet.</p>
    <% end %>
  </section>
<% end %>
