quivr/frontend/app/upload/page.tsx
Aditya Nandan 57f9ef6170
Sticky - chat list, navbar, chat input (#295)
* feat: sticky navbar and sticky chatlist

* fix: remove unnecessary top padding

* style(chat): sticky chat input

* style(footer): increase vertical padding

* style(chat): sticky new chat button

* fix(chat): minor fixes

* fix(chat): center ChatMessages

* fix(chat): screen height chatlist
2023-06-11 10:44:23 +02:00

29 lines
875 B
TypeScript

"use client";
import Link from "next/link";
import Button from "../components/ui/Button";
import { Divider } from "../components/ui/Divider";
import PageHeading from "../components/ui/PageHeading";
import { Crawler } from "./components/Crawler";
import { FileUploader } from "./components/FileUploader";
export default function UploadPage() {
return (
<main className="pt-10">
<PageHeading
title="Upload Knowledge"
subtitle="Text, document, spreadsheet, presentation, audio, video, and URLs supported"
/>
<FileUploader />
<Divider text="or" className="m-5" />
<Crawler />
<div className="flex flex-col items-center justify-center gap-5 mt-5">
<Link href={"/chat"}>
<Button variant={"secondary"} className="py-3">
Chat
</Button>
</Link>
</div>
</main>
);
}