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

Make the button nicer

This commit is contained in:
hatz 2025-05-21 06:34:25 -05:00
parent 95c3349454
commit 2e8f7a5b2a
No known key found for this signature in database

View file

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