From 12558c39d1515a759fd9e06a01df04a67e86dc65 Mon Sep 17 00:00:00 2001 From: n4ze3m Date: Thu, 28 Mar 2024 22:15:29 +0530 Subject: [PATCH] Update icon in SettingsOptionLayout.tsx --- src/components/Icons/Ollama.tsx | 20 +++++++++++++++++++ .../Layouts/SettingsOptionLayout.tsx | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 src/components/Icons/Ollama.tsx diff --git a/src/components/Icons/Ollama.tsx b/src/components/Icons/Ollama.tsx new file mode 100644 index 0000000..e0e0dab --- /dev/null +++ b/src/components/Icons/Ollama.tsx @@ -0,0 +1,20 @@ +import React from "react" + +export const OllamaIcon = React.forwardRef< + SVGSVGElement, + React.SVGProps +>((props, ref) => { + return ( + + + + + + ) +}) diff --git a/src/components/Layouts/SettingsOptionLayout.tsx b/src/components/Layouts/SettingsOptionLayout.tsx index 3b50161..de68569 100644 --- a/src/components/Layouts/SettingsOptionLayout.tsx +++ b/src/components/Layouts/SettingsOptionLayout.tsx @@ -1,12 +1,12 @@ import { Book, BrainCircuit, - CircuitBoardIcon, Orbit, Share } from "lucide-react" import { useTranslation } from "react-i18next" import { Link, useLocation } from "react-router-dom" +import { OllamaIcon } from "../Icons/Ollama" function classNames(...classes: string[]) { return classes.filter(Boolean).join(" ") @@ -64,7 +64,7 @@ export const SettingsLayout = ({ children }: { children: React.ReactNode }) => {