Sha256: e238e7980865abda2e8a7a021833a9ca866fae1c4db191cb14cc434b4bc6e2eb

Contents?: true

Size: 1.26 KB

Versions: 11

Compression:

Stored size: 1.26 KB

Contents

<div class="pb--kit-show <%=@kit%>-kit">
  <%= pb_rails("title", props: { text: pb_kit_title(@kit), tag: "h1", size: 1 }) %>
  <div class="markdown <%= cookies[:dark_mode] == "true" ? 'dark' : '' %>">
    <%= markdown(get_kit_description(@kit)) %>
  </div>
</div>
<div>
  <div class="pb--kit-type-nav">
    <%= pb_rails("nav", props: { orientation: "horizontal" }) do %>
      <% if has_kit_type?(@kit, "rails") %>
        <%= pb_rails("nav/item", props: { text: "Rails", link: kit_show_rails_path(@kit), active: action_name == 'kit_show_rails' }) %>
      <% end %>
      <% if has_kit_type?(@kit, "react") %>
        <%= pb_rails("nav/item", props: { text: "React", link: kit_show_reacts_path(@kit), active: action_name == 'kit_show_react' }) %>
      <% end %>
    <% end %>
    <%= pb_rails("section_separator") %>
  </div>
  <% if (action_name == "kit_show_rails") %>
    <%= pb_kit(kit: @kit) %>
    <div class="markdown <%= cookies[:dark_mode]== "true" ? 'dark' : '' %>">
      <br>
      <%= markdown(get_kit_footer(@kit)) %>
    </div>
    <%= pb_kit_api(@kit) %>
  <% else %>
    <%= pb_kit(kit: @kit, type: "react") %>
    <div class="markdown <%= cookies[:dark_mode] == "true" ? 'dark' : '' %>">
      <br>
      <%= markdown(get_kit_footer(@kit)) %>
    </div>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
playbook_ui-7.3.0.pre.alpha2 app/views/playbook/pages/kit_show.html.erb
playbook_ui-6.8.2.pre.alpha1 app/views/playbook/pages/kit_show.html.erb
playbook_ui-7.0.1.pre.alpha14 app/views/playbook/pages/kit_show.html.erb
playbook_ui-6.8.1 app/views/playbook/pages/kit_show.html.erb
playbook_ui-6.8.0 app/views/playbook/pages/kit_show.html.erb
playbook_ui-6.7.0.pre.alpha1 app/views/playbook/pages/kit_show.html.erb
playbook_ui-6.7.0 app/views/playbook/pages/kit_show.html.erb
playbook_ui-7.0.1.pre.alpha12 app/views/playbook/pages/kit_show.html.erb
playbook_ui-7.0.1.pre.alpha11 app/views/playbook/pages/kit_show.html.erb
playbook_ui-7.0.1.pre.alpha10 app/views/playbook/pages/kit_show.html.erb
playbook_ui-7.0.1.pre.alpha9 app/views/playbook/pages/kit_show.html.erb