Sha256: 79226f36ada5b44e7b217869d5a39dd9cb1b82289c411ddbaa807304987d4dc7

Contents?: true

Size: 716 Bytes

Versions: 3

Compression:

Stored size: 716 Bytes

Contents

<div class="bg-white">
  <%= render Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes) do %>
    <% if icon.present? %>
      <%= icon %>
    <% elsif image.present? %>
      <%= image %>
    <% end %>
    <%= heading %>
    <% if description.present? %>
      <%= description %>
    <% end %>
    <%= content %>
    <div class="mt-8 flex justify-center">
      <% if primary_action.present? %>
        <div class="inline-flex rounded-md shadow">
          <%= primary_action %>
        </div>
      <% end %>
      <% if secondary_action.present? %>
        <div class="ml-3 inline-flex">
          <%= secondary_action %>
        </div>
      <% end %>
    </div>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.6 app/components/ariadne/blankslate_component.html.erb
ariadne_view_components-0.0.5 app/components/ariadne/blankslate_component.html.erb
ariadne_view_components-0.0.4 app/components/ariadne/blankslate_component.html.erb