From 2e8f7a5b2a60a80c9b0a051048d7620e28cbe671 Mon Sep 17 00:00:00 2001 From: hatz Date: Wed, 21 May 2025 06:34:25 -0500 Subject: [PATCH] Make the button nicer --- app/views/chats/index.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/chats/index.html.erb b/app/views/chats/index.html.erb index f16c44b7..1b8f6d1d 100644 --- a/app/views/chats/index.html.erb +++ b/app/views/chats/index.html.erb @@ -3,15 +3,15 @@
<% if @chats.any? %>
-

Chats

-
+
+

Chats

<%= render LinkComponent.new( - text: "New chat", + id: "new-chat", icon: "plus", - variant: :primary, + variant: "icon", href: new_chat_path, frame: chat_frame, - class: "w-full justify-center" + text: "New chat" ) %>