update bing chat icon (#627)

* update bing chat icon

* add bing logo backup

* add BingIconBackup.jsx

---------

Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
This commit is contained in:
Fuegovic 2023-07-13 21:36:44 -04:00 committed by GitHub
parent 9e931229e2
commit c7e57cd3a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 682 additions and 104 deletions

View file

@ -1,4 +1,4 @@
import { Plugin, GPTIcon, BingIcon, AnthropicIcon } from '~/components/svg';
import { Plugin, GPTIcon, BingIcon, BingJbIcon, AnthropicIcon } from '~/components/svg';
import { useAuthContext } from '~/hooks/AuthContext';
import { cn } from '~/utils'
@ -63,9 +63,13 @@ const getIcon = (props) => {
name = modelLabel || 'Claude';
} else if (endpoint === 'bingAI') {
const { jailbreak } = props;
icon = <BingIcon size={size * 0.7} />;
bg = jailbreak ? 'radial-gradient(circle at 90% 110%, #F0F0FA, #D0E0F9)' : 'transparent';
name = jailbreak ? 'Sydney' : 'BingAI';
if (jailbreak) {
icon = <BingJbIcon size={size * 0.7} />;
name = 'Sydney';
} else {
icon = <BingIcon size={size * 0.7} />;
name = 'BingAI';
}
} else if (endpoint === 'chatGPTBrowser') {
icon = <GPTIcon size={size * 0.7} />;
bg =