Sha256: a83cd540b6b8a6f21877789e01954e4f6e5538c7fc8223d42176f0aeb7004d24

Contents?: true

Size: 1.08 KB

Versions: 5

Compression:

Stored size: 1.08 KB

Contents

  <div class="flex flex-1 flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24">
    <div class="mx-auto w-full max-w-sm lg:w-96">
      <div>
        <%= image_tag Tybo.configuration.logo_url, class: 'h-12 w-auto' %>
        <h2 class="mt-6 text-3xl font-bold tracking-tight text-gray-900">Sign in to your account</h2>
      </div>
      <div class="mt-4">
      <% @resources.each do |resource| %>
      <a href="<%=send("new_#{resource.to_s}_session_path")%>" class="mt-2 flex w-full justify-center rounded-md border border-transparent bg-tybo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-tybo-700 focus:outline-none focus:ring-2 focus:ring-tybo-500 focus:ring-offset-2">
        Sign in as <%= I18n.t("bo.#{resource.to_s}.one")%>
      </a>
      <% end %>
      </div>
    </div>
  </div>
  <div class="relative hidden w-0 flex-1 lg:block">
    <img class="absolute inset-0 h-full w-full object-cover" src="https://tymate.com/_next/image?url=https%3A%2F%2Fwww.datocms-assets.com%2F33962%2F1667561118-natif-dribbble-2.png%3Fw%3D1600&w=1920&q=75" alt="">
  </div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tybo-0.0.11 app/views/login/home.html.erb
tybo-0.0.10 app/views/login/home.html.erb
tybo-0.0.9 app/views/login/home.html.erb
tybo-0.0.8 app/views/login/home.html.erb
tybo-0.0.7 app/views/login/home.html.erb