1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-08 15:05:22 +02:00

Use menu icon instead of left

This commit is contained in:
hatz 2025-05-21 11:34:01 -05:00
parent 9db3cfd4c5
commit 91a440247d
No known key found for this signature in database

View file

@ -7,9 +7,10 @@
<%= render LinkComponent.new( <%= render LinkComponent.new(
id: "chat-nav-back", id: "chat-nav-back",
variant: "icon", variant: "icon",
icon: "arrow-left", icon: "menu",
href: chats_path, href: chats_path,
frame: chat_frame frame: chat_frame,
text: "All chats"
) %> ) %>
<div class="grow"> <div class="grow">
@ -25,7 +26,8 @@
variant: "link", variant: "link",
text: "Edit chat title", text: "Edit chat title",
href: edit_chat_path(chat, ctx: "chat"), href: edit_chat_path(chat, ctx: "chat"),
icon: "pencil", data: { turbo_frame: dom_id(chat, "title") }) %> icon: "pencil",
frame: dom_id(chat, "title")) %>
<% menu.with_item( <% menu.with_item(
variant: "button", variant: "button",