mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-18 16:11:45 +03:00
7480e89fa9
Issue: https://github.com/StanGirard/quivr/issues/1902 Demo: https://github.com/StanGirard/quivr/assets/63923024/33170c91-3bdc-442a-918a-5013b423f8e5
34 lines
1.0 KiB
TypeScript
34 lines
1.0 KiB
TypeScript
"use client";
|
|
|
|
import { useTranslation } from "react-i18next";
|
|
import { LuBrain } from "react-icons/lu";
|
|
|
|
import { AddBrainModal } from "@/lib/components/AddBrainModal";
|
|
|
|
import { BrainsTabs } from "./components/BrainsTabs/BrainsTabs";
|
|
|
|
const BrainsManagement = (): JSX.Element => {
|
|
const { t } = useTranslation("chat");
|
|
|
|
return (
|
|
<div className="flex flex-col flex-1">
|
|
<div className="w-full h-full p-6 bg-highlight flex flex-col flex-1 overflow-auto">
|
|
<div className="w-full mb-10">
|
|
<div className="flex flex-row justify-center items-center gap-2">
|
|
<LuBrain size={20} className="text-primary" />
|
|
<span className="capitalize text-2xl font-semibold">
|
|
{t("brains")}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<BrainsTabs />
|
|
</div>
|
|
<div className="w-full flex justify-center py-4">
|
|
<AddBrainModal triggerClassName="bg-primary text-white font-normal" />
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default BrainsManagement;
|