mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-17 23:51:51 +03:00
* 🚚 move footer component * 🚚 move navbar component * 🚚 move ui components * 🚚 move browser tab icon to public folder * 🚚 move Chat Provider * 🚚 move hooks to lib * 🚚 move helpers to lib * 🚚 move types to lib
29 lines
884 B
TypeScript
29 lines
884 B
TypeScript
"use client";
|
|
import Button from "@/lib/components/ui/Button";
|
|
import { Divider } from "@/lib/components/ui/Divider";
|
|
import PageHeading from "@/lib/components/ui/PageHeading";
|
|
import Link from "next/link";
|
|
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>
|
|
);
|
|
}
|