Files
fizzy/app/views/buckets/index.html.erb
T
2025-02-07 16:27:12 -06:00

33 lines
1.2 KiB
Plaintext

<% @page_title = "Collections" %>
<% content_for :header do %>
<nav class="align-start">
<%= link_to account_users_path, class: "btn borderless flex-item-justify-start" do %>
<%= image_tag "settings.svg", aria: { hidden: true }, size: 24 %>
<span class="for-screen-reader">Account settings</span>
<% end %>
<header class="flex flex-column center">
<div class="flex align-center gap-half justify-center">
<%= link_to "Collections", root_path %>
<%= link_to "Activity", events_path %>
</div>
<h1 class="txt-x-large"><%= @page_title %></h1>
</header>
<%= link_to new_bucket_path, class: "btn flex-item-justify-end borderless", style: "view-transition-name: new-bucket" do %>
<%= image_tag "add.svg", aria: { hidden: true }, size: 24 %>
<span class="for-screen-reader">Add a new project</span>
<% end %>
</nav>
<% end %>
<div class="buckets margin-block-double unpad align-start justify-center flex flex-wrap gap">
<%= render @buckets, cached: true %>
</div>
<div class="buckets margin-block-double unpad align-start justify-center flex flex-wrap gap">
<%= render @filters %>
</div>
<%= render "notifications/tray" %>