Sha256: 7bb3aa00bcc4fe0807614885947ac4dc2e0bc27b0fc2e4d17b8fa0fa79bbdb41

Contents?: true

Size: 969 Bytes

Versions: 9

Compression:

Stored size: 969 Bytes

Contents

<% yield p = np %>

<div class="border border-slate-300 dark:border-opacity-10 rounded-md bg-slate-50 dark:bg-opacity-10">
  <% if p.content_for?(:title) || p.content_for?(:description) || p.content_for?(:body) %>
    <div class="py-4 px-5 space-y">
      <% if p.content_for?(:title) || p.content_for?(:description) %>
        <div class="space-y-2">
          <% if p.content_for? :title %>
            <h2 class="text-base font-semibold">
              <%= p.content_for :title %>
            </h2>
          <% end %>

          <% if p.content_for? :description %>
            <p class="text-slate-400 font-light leading-normal">
              <%= p.content_for :description %>
            </p>
          <% end %>
        </div>
      <% end %>

      <% if p.content_for? :body %>
        <div class="space-y">
          <%= p.content_for :body %>
        </div>
      <% end %>
    </div>
  <% end %>

  <div>
    <%= p.content_for :raw_body %>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bullet_train-themes-light-1.2.19 app/views/themes/light/_well.html.erb
bullet_train-themes-light-1.2.18 app/views/themes/light/_well.html.erb
bullet_train-themes-light-1.2.17 app/views/themes/light/_well.html.erb
bullet_train-themes-light-1.2.16 app/views/themes/light/_well.html.erb
bullet_train-themes-light-1.2.15 app/views/themes/light/_well.html.erb
bullet_train-themes-light-1.2.14 app/views/themes/light/_well.html.erb
bullet_train-themes-light-1.2.13 app/views/themes/light/_well.html.erb
bullet_train-themes-light-1.2.12 app/views/themes/light/_well.html.erb
bullet_train-themes-light-1.2.11 app/views/themes/light/_well.html.erb