1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-08 06:55:21 +02:00

Add new chat button

This commit is contained in:
hatz 2025-05-20 20:42:32 -05:00
parent 443b834b46
commit ead44ad8a1
No known key found for this signature in database

View file

@ -16,6 +16,16 @@
<div class="grow flex flex-col">
<% if @chats.any? %>
<h1 class="text-xl font-medium mb-6">Chats</h1>
<div class="mb-4">
<%= render LinkComponent.new(
text: "New chat",
icon: "plus",
variant: :primary,
href: new_chat_path,
frame: chat_frame,
class: "w-full justify-center"
) %>
</div>
<div class="space-y-2 px-0.5">
<%= render @chats %>
</div>