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.51 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.50 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.49 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.48 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.47 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.43 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.44 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.42 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.41 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.40 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.38 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.37 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.36 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.35 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.34 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.33 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.32 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-light-1.0.30 app/views/themes/light/workflow/_box.html.erb
bullet_train-themes-tester-1.0.1 app/views/themes/tester/workflow/_box.html.erb
bullet_train-themes-light-1.0.29 app/views/themes/light/workflow/_box.html.erb