mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-15 06:58:51 +01:00
fix: sharpness in Bing Chat icon (#648)
* Fix sharpness in Bing Chat icon * Fix sharpness in Bing Chat icon * Fix sharpness in Bing Chat icon
This commit is contained in:
parent
9303ea2f57
commit
af47a68632
6 changed files with 4 additions and 579 deletions
|
|
@ -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 = <BingJbIcon size={size * 0.7} />;
|
||||
icon = <img src="/assets/bingai-jb.png" alt="Bing Icon"/>;
|
||||
name = 'Sydney';
|
||||
} else {
|
||||
icon = <BingIcon size={size * 0.7} />;
|
||||
icon = <img src="/assets/bingai.png" alt="Sydney Icon"/>;
|
||||
name = 'BingAI';
|
||||
}
|
||||
} else if (endpoint === 'chatGPTBrowser') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue