<%= @customer.slug || "Your device" %>
<% if @customer.slug.present? %>
🌎 <%= @customer.slug %>.crimata.com
<% end %>
<% badge_class = @customer.status == "active" ? "active" : "provisioning" %>
<% badge_label = { "active" => "Active", "provisioning" => "Provisioning", "failed" => "Failed" }.fetch(@customer.status, "Pending") %>
<%= badge_label %>
<% if @customer.slug.present? %>
Open →
<% else %>
Not ready yet
<% end %>