mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-03 00:58:50 +01:00
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:
parent
9e931229e2
commit
c7e57cd3a2
5 changed files with 682 additions and 104 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue