Sha256: b0742e24470c0c8a6a65d96b65878917d1e89be24e75528c041134b314512cda

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 KB

Contents

<% yield p = np %>

<% width ||= "max-w-md" %>

<div class="min-h-screen flex flex-col justify-center sm:py-12">
  <div class="mx-auto w-full <%= width %> p-1.5">
    <div class="bg-white py-8 px-10 shadow rounded-lg dark:bg-sealBlue-400">
      <div class="sm:mx-auto sm:w-full sm:max-w-md py-5">
        <a href="<%= main_app.root_path %>" class="block py-3">
          <img alt="" src="<%= image_path("logo/logo.png") %>" width="<%= image_width_for_height("logo/logo.png", BulletTrain::Themes.logo_height) %>" height="<%= BulletTrain::Themes.logo_height %>" class="mx-auto h-12 w-auto" />
        </a>

        <h1 class="mt-6 text-center text-3xl font-semibold tracking-tight dark:text-white">
          <%= p.yield :title %>
        </h1>

        <%= render "shared/line" %>
      </div>

      <div class="electron-undraggable pt-5 space-y-5">
        <%= p.content_for :body %>
      </div>
    </div>
  </div>
</div>

<% # We have to list out every option we want to be available at runtime so they're included in our Tailwind output. %>
<% if false %>
  <div class="max-w-md max-w-lg"></div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bullet_train-themes-light-1.0.16 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.15 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.14 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.13 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.12 app/views/themes/light/workflow/_box.html.erb