Sha256: b1e8eb5235579189a37dfc99cf74bfc7396d0eadb5b1435906efd3513ab22576

Contents?: true

Size: 582 Bytes

Versions: 2

Compression:

Stored size: 582 Bytes

Contents

<div class="ariadne-grow ariadne-flex ariadne-flex-col ariadne-justify-center ariadne-items-center <%= base? ? 'ariadne-gap-4' : 'ariadne-gap-1' %>">
  <%= icon %>
  <div class="ariadne-text-center ariadne-space-y-2">
    <%= render(Ariadne::UI::Typography::Component.new(type: title_type_from_size)) { title } %>
    <% if description.present? %>
    <%= render(Ariadne::UI::Typography::Component.new(type: description_type_from_size, html_attrs: { class: "ariadne-text-zinc-600 dark:ariadne-text-zinc-400 ariadne-text-balance" })) { description } %>
    <% end %>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.78 app/components/ariadne/ui/blankslate/component.html.erb
ariadne_view_components-0.0.77 app/components/ariadne/ui/blankslate/component.html.erb