<%# app/views/invite_codes/index.html.erb %>
<%= turbo_frame_tag "invite_codes" do %>
  <% if @invite_codes.present? %>
    <%= render @invite_codes %>
  <% else %>
    <div class="flex flex-col items-center w-full h-64 bg-white text-center justify-center">
      <%= lucide_icon "binary", class: "w-6 h-6 text-sm text-gray-500" %>
      <p class="text-base pt-4"><%= t(".no_invite_codes") %></p>
      <p class="text-sm text-gray-500 pt-2 w-2/3"><%= t(".invite_code_description") %></p>
    </div>
  <% end %>
<% end %>
