From 68434820b09ee2a2005d648fb75f648b4cfdc4c5 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Wed, 28 Feb 2024 23:08:43 -0300 Subject: [PATCH] add postgres icon --- src/frontend/src/icons/Postgres/Postgres.jsx | 67 +++++++++++++++++++ .../Postgres/{Redis.svg => Postgres.svg} | 0 src/frontend/src/icons/Postgres/Redis.jsx | 67 ------------------- src/frontend/src/icons/Postgres/index.tsx | 2 +- src/frontend/src/utils/styleUtils.ts | 3 +- 5 files changed, 70 insertions(+), 69 deletions(-) create mode 100644 src/frontend/src/icons/Postgres/Postgres.jsx rename src/frontend/src/icons/Postgres/{Redis.svg => Postgres.svg} (100%) delete mode 100644 src/frontend/src/icons/Postgres/Redis.jsx diff --git a/src/frontend/src/icons/Postgres/Postgres.jsx b/src/frontend/src/icons/Postgres/Postgres.jsx new file mode 100644 index 000000000..95059e729 --- /dev/null +++ b/src/frontend/src/icons/Postgres/Postgres.jsx @@ -0,0 +1,67 @@ +export const SvgPostgres = (props) => ( + + + + + + + + + + + + + + + + + + + + + + + + + +); +export default SvgPostgres; diff --git a/src/frontend/src/icons/Postgres/Redis.svg b/src/frontend/src/icons/Postgres/Postgres.svg similarity index 100% rename from src/frontend/src/icons/Postgres/Redis.svg rename to src/frontend/src/icons/Postgres/Postgres.svg diff --git a/src/frontend/src/icons/Postgres/Redis.jsx b/src/frontend/src/icons/Postgres/Redis.jsx deleted file mode 100644 index f1063f52b..000000000 --- a/src/frontend/src/icons/Postgres/Redis.jsx +++ /dev/null @@ -1,67 +0,0 @@ -export const SvgPostgres = (props) => ( - - - - - - - - - - - - - - - - - - - - - - - - - -); -export default SvgPostgres; diff --git a/src/frontend/src/icons/Postgres/index.tsx b/src/frontend/src/icons/Postgres/index.tsx index b7da5264c..0bd7cdaef 100644 --- a/src/frontend/src/icons/Postgres/index.tsx +++ b/src/frontend/src/icons/Postgres/index.tsx @@ -1,5 +1,5 @@ import React, { forwardRef } from "react"; -import SvgPostgres from "./Redis"; +import SvgPostgres from "./Postgres"; export const PostgresIcon = forwardRef< SVGSVGElement, diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index 1ae649269..2826e23c2 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -124,7 +124,7 @@ import { XCircle, Zap, } from "lucide-react"; -import { FaApple, FaGithub } from "react-icons/fa"; +import { FaApple, FaGithub, FaRobot } from "react-icons/fa"; import { AWSIcon } from "../icons/AWS"; import { AirbyteIcon } from "../icons/Airbyte"; import { AnthropicIcon } from "../icons/Anthropic"; @@ -268,6 +268,7 @@ export const nodeIconsLucide: iconsType = { Redis: RedisIcon, RedisSearch: RedisIcon, PostgresChatMessageHistory: PostgresIcon, + BaiduQianfan: FaRobot, Play, Vectara: VectaraIcon, ArrowUpToLine: ArrowUpToLine,