Files
nairobi/app/components/dashboard/default_resource_component.html.erb
taitus 1dc4f1c534 Use grid instead of equalizer in dashboard resources
Move resource cards layout inside #available-resources-section and switch
from equalizer alignment to a responsive grid layout.

Note that using `grid-auto-rows: 1fr` requires us to change the CSS of
the card itself so the "see resource" link remains at the bottom of the
card.
2025-08-27 17:40:45 +02:00

7 lines
239 B
Plaintext

<div class="resource-card">
<h4><%= t("dashboard.menu.#{resource}") %></h4>
<p class="resource-description"><%= resource_description %></p>
<%= link_to t("dashboard.resource.view_resource"), resource_path, class: "button" %>
</div>