Sha256: 4d51619d1d4b1df831bcb335e4d2bdbc78b84bd767645776e1416321d0231497

Contents?: true

Size: 925 Bytes

Versions: 4

Compression:

Stored size: 925 Bytes

Contents

<div id="landing" class="flex flex-col items-center justify-center h-full w-full">
  <div class="p-4 text-center mx-auto">
    <% if Lookbook.previews? %>
      <div id="landing-with-content">
        <h5 class="text-lg opacity-50"><%= config.project_name %></h5>
        <div class="mt-2 italic opacity-30 max-w-[400px]">
          <p>
            Select a preview from the nav to get started.
          </p>
        </div>
      </div>
    <% else %>
      <div id="landing-no-content">
        <h5 class="text-lg font-bold opacity-80"><%= config.project_name %></h5>
        <div class="mt-3 italic opacity-40 max-w-[400px]">
          <p>
            Nothing here yet! 
            <a class="underline" href="https://viewcomponent.org/guide/previews.html" target="_blank">
              Create a preview
            </a>
            to get started.
          </p>
        </div>
      </div>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lookbook-1.0.0.beta.8 app/views/lookbook/index.html.erb
lookbook-1.0.0.beta.7 app/views/lookbook/index.html.erb
lookbook-1.0.0.beta.6 app/views/lookbook/index.html.erb
lookbook-1.0.0.beta.5 app/views/lookbook/index.html.erb