2023-07-24 15:17:21 +03:00
|
|
|
"use client";
|
|
|
|
|
2023-12-18 16:23:45 +03:00
|
|
|
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 (
|
2024-01-25 23:44:24 +03:00
|
|
|
<div className="flex flex-col flex-1 bg-white">
|
2024-01-23 04:37:45 +03:00
|
|
|
<div className="w-full h-full p-6 flex flex-col flex-1 overflow-auto">
|
2023-12-18 16:23:45 +03:00
|
|
|
<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">
|
2024-01-23 04:37:45 +03:00
|
|
|
<AddBrainModal />
|
2023-12-18 16:23:45 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default BrainsManagement;
|