quivr/frontend/app/chat/[chatId]/page.tsx
Aditya Nandan 315411facd
remove blank scrollbars and use predefined components (#452)
* style(chat and brains dropdown): remove blank scrollbars and use predefined components

* style(chat): use custom scrollbar style by using scrollbar class
2023-07-02 14:30:11 +02:00

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>
);
}