Sha256: c469b1d6f1f2711bfb4151a77992cc36a31e5f616746c136f8e082ad2f785ca1

Contents?: true

Size: 981 Bytes

Versions: 10

Compression:

Stored size: 981 Bytes

Contents

<div class="bg-white flex flex-col items-center justify-center h-screen w-full">
  <div class="p-4 text-center">
    <%= icon "alert-triangle", size: 10, class: "text-red-300 mx-auto" %>
    <div class="mt-3 text-gray-700 max-w-xs">
      <% if @preview %>
        <div data-role="example-not-found">
          <h5 class="text-base">Not found</h5>
          <p class="mt-2 text-gray-400 text-sm">
            The "<span class="text-gray-500"><%= @preview.label %></span>" preview does not have an example named "<span class="text-gray-500"><%= @example_name %></span>".
          </p>
        </div>
      <% else %>
        <div data-role="preview-not-found">
          <h5 class="text-base">Preview not found</h5>
          <p class="mt-2 text-gray-400 text-sm">
            Looked for "<span class="text-gray-500"><%= params[:path] %></span>".<br>
            The preview may have been renamed or deleted.
          </p>
        </div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lookbook-0.6.1 app/views/lookbook/not_found.html.erb
lookbook-0.6.0 app/views/lookbook/not_found.html.erb
lookbook-0.5.2 app/views/lookbook/not_found.html.erb
lookbook-0.5.1 app/views/lookbook/not_found.html.erb
lookbook-0.5.0 app/views/lookbook/not_found.html.erb
lookbook-0.5.0.beta.2 app/views/lookbook/not_found.html.erb
lookbook-0.5.0.beta.1 app/views/lookbook/not_found.html.erb
lookbook-0.5.0.beta.0 app/views/lookbook/not_found.html.erb
lookbook-0.4.8 app/views/lookbook/not_found.html.erb
lookbook-0.4.7 app/views/lookbook/not_found.html.erb