mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-17 23:51:51 +03:00
57f9ef6170
* 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
29 lines
875 B
TypeScript
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>
|
|
);
|
|
}
|