mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-19 17:01:41 +03:00
315411facd
* style(chat and brains dropdown): remove blank scrollbars and use predefined components * style(chat): use custom scrollbar style by using scrollbar class
29 lines
862 B
TypeScript
29 lines
862 B
TypeScript
/* eslint-disable */
|
|
"use client";
|
|
|
|
import PageHeading from "@/lib/components/ui/PageHeading";
|
|
|
|
import { ChatInput, ChatMessages } from "../components";
|
|
import { ChatProvider } from "./context/ChatContext";
|
|
|
|
export default function ChatPage() {
|
|
return (
|
|
<main className="flex flex-col w-full pt-10">
|
|
<section className="flex flex-col flex-1 items-center w-full h-full min-h-[70vh]">
|
|
<PageHeading
|
|
title="Chat with your brain"
|
|
subtitle="Talk to a language model about your uploaded data"
|
|
/>
|
|
<ChatProvider>
|
|
<div className="relative w-full flex flex-col flex-1 items-center">
|
|
<div className="flex-1 w-full flex flex-col items-center">
|
|
<ChatMessages />
|
|
</div>
|
|
<ChatInput />
|
|
</div>
|
|
</ChatProvider>
|
|
</section>
|
|
</main>
|
|
);
|
|
}
|