mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-29 22:32:40 +03:00
66ffc6b9aa
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
34 lines
967 B
TypeScript
34 lines
967 B
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 bg-white">
|
|
<div className="w-full h-full p-6 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 />
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default BrainsManagement;
|