mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* WIP * WIP * WIP * WIP * WIP * WIP * WIP * format * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * fix conflict * fix conflict * chore: run rubocop * fix test * update PWA logo * fix tests * chore: lint * fix test * Refactor: Remove duplicate data attribute in activity partial and add chat form rendering in chats index --------- Co-authored-by: Josh Pigford <josh@joshpigford.com>
9 lines
398 B
Text
9 lines
398 B
Text
<%# locals: (name:, path:, icon:) %>
|
|
|
|
<%= link_to path, class: class_names(
|
|
"flex items-center gap-2 btn btn--ghost whitespace-nowrap",
|
|
page_active?(path) ? "text-primary bg-container shadow-border-xs" : "text-secondary hover:bg-gray-100 border-transparent"
|
|
), aria: { current: ("page" if page_active?(path)) } do %>
|
|
<%= lucide_icon(icon, class: "w-5 h-5") if icon %>
|
|
<%= name %>
|
|
<% end %>
|