mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
Add new chat button
This commit is contained in:
parent
443b834b46
commit
ead44ad8a1
1 changed files with 10 additions and 0 deletions
|
@ -16,6 +16,16 @@
|
||||||
<div class="grow flex flex-col">
|
<div class="grow flex flex-col">
|
||||||
<% if @chats.any? %>
|
<% if @chats.any? %>
|
||||||
<h1 class="text-xl font-medium mb-6">Chats</h1>
|
<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">
|
<div class="space-y-2 px-0.5">
|
||||||
<%= render @chats %>
|
<%= render @chats %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue