Sha256: 28f21cf9f8524fb4f519d1532605f55f12d6cea72a08a3a393f924c155d1a919

Contents?: true

Size: 1.09 KB

Versions: 37

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-darkPrimary-700">
      <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

37 entries across 37 versions & 5 rubygems

Version Path
bullet_train-themes-light-1.0.28 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-custom-1.0 app/views/themes/custom/workflow/_box.html.erb
bullet_train-themes-testing-1.0 app/views/themes/testing/workflow/_box.html.erb
bullet_train-themes-tester-1.0 app/views/themes/tester/workflow/_box.html.erb
bullet_train-themes-light-1.0.27 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-hayabusa-1.3 app/views/themes/hayabusa/workflow/_box.html.erb
bullet_train-themes-hayabusa-1.2 app/views/themes/hayabusa/workflow/_box.html.erb
bullet_train-themes-hayabusa-1.1 app/views/themes/hayabusa/workflow/_box.html.erb
bullet_train-themes-light-1.0.26 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.25 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.24 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.23 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.22 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.21 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.20 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.19 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.17 app/views/themes/light/workflow/_box.html.erb