Add about section to settings.json for multiple locales

This commit is contained in:
n4ze3m
2024-03-31 20:16:26 +05:30
parent e29cea82f5
commit 7b5062e5da
10 changed files with 191 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import { Book, BrainCircuit, Orbit, Share } from "lucide-react"
import { Book, BrainCircuit, Orbit, Share, BlocksIcon , InfoIcon} from "lucide-react"
import { useTranslation } from "react-i18next"
import { Link, useLocation } from "react-router-dom"
import { OllamaIcon } from "../Icons/Ollama"
@@ -68,6 +68,12 @@ export const SettingsLayout = ({ children }: { children: React.ReactNode }) => {
current={location.pathname}
icon={BrainCircuit}
/>
{/* <LinkComponent
href="/settings/knowledge"
name={t("manageKnowledge.title")}
icon={BlocksIcon}
current={location.pathname}
/> */}
<LinkComponent
href="/settings/prompt"
name={t("managePrompts.title")}
@@ -80,6 +86,12 @@ export const SettingsLayout = ({ children }: { children: React.ReactNode }) => {
icon={Share}
current={location.pathname}
/>
<LinkComponent
href="/settings/about"
name={t("about.title")}
icon={InfoIcon}
current={location.pathname}
/>
</ul>
</nav>
</aside>