% size = local_assigns.fetch(:size, :md) %>
<% variant = local_assigns.fetch(:variant, :full) %>
<% mark_class = { xs: "size-6", sm: "size-7", md: "size-8", lg: "size-10", xl: "size-12" }.fetch(size) %>
<% show_wordmark = variant != :mark %>
<% mark = capture do %>
<% end %>
<% if show_wordmark %>
<%= mark %>
eminuxCRM
<% if local_assigns[:subtitle].present? %>
<%= subtitle %>
<% end %>
<% else %>
<%= mark %>
<% end %>