Files
eminuxCRM/app/views/shared/_logo.html.erb
T
eminuxandCursor c4e5f289cf
CI / scan_ruby (push) Failing after 11m20s
CI / scan_js (push) Successful in 10m35s
CI / lint (push) Has been cancelled
Commit iniziale di eminuxCRM: CRM Rails con pipeline, campagne email e Docker.
Include autenticazione, progetti isolati, mail marketing HTML con SMTP, test A/B e editor WYSIWYG.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 23:01:48 +02:00

28 lines
1.1 KiB
ERB

<% 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 %>
<span class="inline-flex <%= mark_class %> shrink-0 items-center justify-center rounded-lg bg-zinc-900 text-white dark:bg-zinc-100 dark:text-zinc-950" aria-hidden="true">
<svg viewBox="0 0 24 24" class="size-[62%]" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round">
<path d="M17.2 8.15a6.85 6.85 0 1 0 0 7.7" />
<path d="M6.4 12h11.1" />
</svg>
</span>
<% end %>
<% if show_wordmark %>
<span class="inline-flex items-center gap-2.5">
<%= mark %>
<span class="leading-tight">
<span class="block text-[15px] font-semibold tracking-tight">eminux<span class="font-medium text-zinc-400">CRM</span></span>
<% if local_assigns[:subtitle].present? %>
<span class="block text-xs font-normal text-zinc-500"><%= subtitle %></span>
<% end %>
</span>
</span>
<% else %>
<%= mark %>
<% end %>