diff --git a/client/public/assets/bingai-jb.png b/client/public/assets/bingai-jb.png new file mode 100644 index 0000000000..c74d9ef595 Binary files /dev/null and b/client/public/assets/bingai-jb.png differ diff --git a/client/public/assets/bingai.png b/client/public/assets/bingai.png new file mode 100644 index 0000000000..995dc49177 Binary files /dev/null and b/client/public/assets/bingai.png differ diff --git a/client/src/components/svg/BingIcon.jsx b/client/src/components/svg/BingIcon.jsx deleted file mode 100644 index 82c01ca375..0000000000 --- a/client/src/components/svg/BingIcon.jsx +++ /dev/null @@ -1,294 +0,0 @@ -import React from 'react'; - -export default function BingIcon() { - return ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); -} diff --git a/client/src/components/svg/BingJbIcon.jsx b/client/src/components/svg/BingJbIcon.jsx deleted file mode 100644 index e7530bec7e..0000000000 --- a/client/src/components/svg/BingJbIcon.jsx +++ /dev/null @@ -1,279 +0,0 @@ -import React from 'react'; - -export default function BingIcon() { - return ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); -} diff --git a/client/src/components/svg/index.ts b/client/src/components/svg/index.ts index 76f5fdd62e..8487f935e2 100644 --- a/client/src/components/svg/index.ts +++ b/client/src/components/svg/index.ts @@ -1,7 +1,5 @@ export { default as Plugin } from './Plugin'; export { default as GPTIcon } from './GPTIcon'; -export { default as BingIcon } from './BingIcon'; -export { default as BingJbIcon } from './BingJbIcon'; export { default as CogIcon } from './CogIcon'; export { default as Spinner } from './Spinner'; export { default as MessagesSquared } from './MessagesSquared'; diff --git a/client/src/utils/getIcon.jsx b/client/src/utils/getIcon.jsx index 5b681e00b1..b21613e962 100644 --- a/client/src/utils/getIcon.jsx +++ b/client/src/utils/getIcon.jsx @@ -1,6 +1,6 @@ -import { Plugin, GPTIcon, BingIcon, BingJbIcon, AnthropicIcon } from '~/components/svg'; +import { Plugin, GPTIcon, AnthropicIcon } from '~/components/svg'; import { useAuthContext } from '~/hooks/AuthContext'; -import { cn } from '~/utils' +import { cn } from '~/utils'; const getIcon = (props) => { const { size = 30, isCreatedByUser, button, model, message = true } = props; @@ -64,10 +64,10 @@ const getIcon = (props) => { } else if (endpoint === 'bingAI') { const { jailbreak } = props; if (jailbreak) { - icon = ; + icon = Bing Icon; name = 'Sydney'; } else { - icon = ; + icon = Sydney Icon; name = 'BingAI'; } } else if (endpoint === 'chatGPTBrowser') {