Sha256: fbee25d715ebe3b569e1b83a8e41450d2db96fbaec6a14ea7e34d99cd812884c

Contents?: true

Size: 1 KB

Versions: 5

Compression:

Stored size: 1 KB

Contents

<div class="bg-white flex flex-col items-center justify-center h-screen w-full">
  <div class="p-4 text-center">
    <svg class="feather w-10 h-10 text-red-300 mx-auto">
      <use xlink:href="#alert-triangle" />
    </svg>
    <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.lookbook_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

5 entries across 5 versions & 1 rubygems

Version Path
lookbook-0.2.4 app/views/lookbook/browser/not_found.html.erb
lookbook-0.2.3 app/views/lookbook/browser/not_found.html.erb
lookbook-0.2.2 app/views/lookbook/browser/not_found.html.erb
lookbook-0.2.1 app/views/lookbook/browser/not_found.html.erb
lookbook-0.2.0 app/views/lookbook/browser/not_found.html.erb