Sha256: 56924e5db4cb92ee3d8cb6340e7c45b3485b08b796bb05eef75badc946df7a5a

Contents?: true

Size: 1.29 KB

Versions: 8

Compression:

Stored size: 1.29 KB

Contents

<% yield p = np %>

<% link_url ||= "#" %>
<% memberships ||= [] %>

<li class="bg-white shadow overflow-hidden sm:rounded-md dark:bg-slate-700">
  <%= link_to link_url, class: "group block hover:bg-slate-50 dark:hover:bg-slate-400 dark:text-slate-800" do %>
    <div class="px-4 py-4 flex items-center sm:pl-8 sm:pr-6">
      <div class="min-w-0 flex-1 sm:flex sm:items-center sm:justify-between">
        <div>
          <% if p.content_for? :name %>
            <div class="flex text-xl font-semibold text-blue uppercase group-hover:text-blue-800 tracking-widest dark:text-white">
              <%= p.content_for :name %>
            </div>
          <% end %>
        </div>
        <div class="mt-4 flex-shrink-0 sm:mt-0">
          <div class="flex overflow-hidden">
            <%= render 'account/shared/memberships/photos', memberships: memberships %>
          </div>
        </div>
      </div>
      <div class="ml-5 flex-shrink-0">
        <svg class="h-5 w-5 text-slate-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
          <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
        </svg>
      </div>
    </div>
  <% end %>
</li>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bullet_train-themes-light-1.2.19 app/views/themes/light/_team.html.erb
bullet_train-themes-light-1.2.18 app/views/themes/light/_team.html.erb
bullet_train-themes-light-1.2.17 app/views/themes/light/_team.html.erb
bullet_train-themes-light-1.2.16 app/views/themes/light/_team.html.erb
bullet_train-themes-light-1.2.15 app/views/themes/light/_team.html.erb
bullet_train-themes-light-1.2.14 app/views/themes/light/_team.html.erb
bullet_train-themes-light-1.2.13 app/views/themes/light/_team.html.erb
bullet_train-themes-light-1.2.12 app/views/themes/light/_team.html.erb