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:
Fuegovic 2023-07-15 08:25:11 -04:00 committed by GitHub
parent 9303ea2f57
commit af47a68632
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 579 deletions

View file

@ -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') {