mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 23:45:21 +02:00
WIP
This commit is contained in:
parent
74ce557a4f
commit
7782dda8b8
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<%# locals: (name:, path:, icon:) %>
|
||||
|
||||
<%= link_to path, class: class_names(
|
||||
"flex items-center gap-2 btn btn--ghost",
|
||||
"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 %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue