mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 17:43:03 +03:00
dc64470d5d
* feat: make chat list hidden on mobile by default * feat: autoclose chat list on click * feat: move footer to chat lists bottom when user is logged in * feat: fix header when user is logged in * chore: refacto ChatMessages * feat: reverse chat list display on fetch * feat: fix new chat button
12 lines
405 B
TypeScript
12 lines
405 B
TypeScript
import Link from "next/link";
|
|
import { BsPlusSquare } from "react-icons/bs";
|
|
|
|
export const NewChatButton = (): JSX.Element => (
|
|
<Link
|
|
href="/chat"
|
|
className="px-4 py-2 mx-4 my-1 border border-primary bg-white dark:bg-black hover:text-white hover:bg-primary shadow-lg rounded-lg flex items-center justify-center top-1 z-20"
|
|
>
|
|
<BsPlusSquare className="h-6 w-6 mr-2" /> New Chat
|
|
</Link>
|
|
);
|